Skip to content

Commit

Permalink
tweaked docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
naylor-b committed Nov 1, 2017
1 parent b3e0c8e commit 77138ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openmdao/utils/options_dictionary.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def declare(self, name, default=_undefined, values=None, types=None, desc='',
is_valid : function or None
General check function that returns True if valid.
allow_none : bool
If True, allow None as a value regardless of the value of 'values' or 'types'.
If True, allow None as a value regardless of values or types.
"""
if values is not None and not isinstance(values, (set, list, tuple)):
raise TypeError("'values' must be of type None, list, or tuple - not %s." % values)
Expand Down

0 comments on commit 77138ce

Please sign in to comment.