Skip to content

Commit

Permalink
Merge pull request #56 from nicoddemus/patch-1
Browse files Browse the repository at this point in the history
Small format fix in iterutils.one for None
  • Loading branch information
mahmoud committed Jan 25, 2016
2 parents e3c9e2b + 57cc0d3 commit c394b86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boltons/iterutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,7 @@ def one(src, default=None, key=None):
the given iterable *src* that evaluates to ``True``, as determined
by callable *key*. If unset, *key* defaults to :class:`bool`. If
no such objects are found, *default* is returned. If *default* is
not passed, ``None` is returned.
not passed, ``None`` is returned.
If *src* has more than one object that evaluates to ``True``, or
if there is no object that fulfills such condition, return
Expand Down

0 comments on commit c394b86

Please sign in to comment.