From 57cc0d350f12a96332fead4c64ac05486b86c438 Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Mon, 25 Jan 2016 14:08:36 -0200 Subject: [PATCH] Small format fix in iterutils.one for None --- boltons/iterutils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boltons/iterutils.py b/boltons/iterutils.py index 1ca729c6..b7a00ce3 100644 --- a/boltons/iterutils.py +++ b/boltons/iterutils.py @@ -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