Mercurial > cpython-lru_cache-weakref
diff Python/bltinmodule.c @ 82217:34cfe145b286 3.3
#17178: merge with 3.2.
| author | Ezio Melotti <ezio.melotti@gmail.com> |
|---|---|
| date | Fri, 15 Feb 2013 23:38:05 +0200 |
| parents | 63a57de58ad9 1d4849f9e37d |
| children | 241cd716bf5f 168efd87e051 |
line wrap: on
line diff
--- a/Python/bltinmodule.c Fri Feb 15 21:31:33 2013 +0100 +++ b/Python/bltinmodule.c Fri Feb 15 23:38:05 2013 +0200 @@ -263,7 +263,8 @@ PyDoc_STRVAR(all_doc, "all(iterable) -> bool\n\ \n\ -Return True if bool(x) is True for all values x in the iterable."); +Return True if bool(x) is True for all values x in the iterable.\n\ +If the iterable is empty, return True."); static PyObject * builtin_any(PyObject *self, PyObject *v) @@ -305,7 +306,8 @@ PyDoc_STRVAR(any_doc, "any(iterable) -> bool\n\ \n\ -Return True if bool(x) is True for any x in the iterable."); +Return True if bool(x) is True for any x in the iterable.\n\ +If the iterable is empty, return False."); static PyObject * builtin_ascii(PyObject *self, PyObject *v)
