cpython: 168efd87e051 (original) (raw)

Mercurial > cpython

changeset 82218:168efd87e051

#17178: merge with 3.3. [#17178]

Ezio Melotti ezio.melotti@gmail.com
date Fri, 15 Feb 2013 23:38:23 +0200
parents 8b85f10b5341(current diff)34cfe145b286(diff)
children ca0307905cd7
files Misc/ACKS Python/bltinmodule.c
diffstat 2 files changed, 5 insertions(+), 2 deletions(-)[+] [-] Misc/ACKS 1 Python/bltinmodule.c 6

line wrap: on

line diff

--- a/Misc/ACKS +++ b/Misc/ACKS @@ -41,6 +41,7 @@ Oliver Andrich Ross Andrus Juancarlo Añez Jérémy Anger +Ankur Ankan Jon Anglin Heidi Annexstad Éric Araujo

--- a/Python/bltinmodule.c +++ b/Python/bltinmodule.c @@ -263,7 +263,8 @@ builtin_all(PyObject *self, PyObject *v) PyDoc_STRVAR(all_doc, "all(iterable) -> bool\n[](#l2.5) \n[](#l2.6) -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[](#l2.8) +If the iterable is empty, return True."); static PyObject * builtin_any(PyObject *self, PyObject *v) @@ -305,7 +306,8 @@ builtin_any(PyObject *self, PyObject *v) PyDoc_STRVAR(any_doc, "any(iterable) -> bool\n[](#l2.15) \n[](#l2.16) -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[](#l2.18) +If the iterable is empty, return False."); static PyObject * builtin_ascii(PyObject *self, PyObject *v)