cpython: 34cfe145b286 (original) (raw)

Mercurial > cpython

changeset 82217:34cfe145b286 3.3

#17178: merge with 3.2. [#17178]

Ezio Melotti ezio.melotti@gmail.com
date Fri, 15 Feb 2013 23:38:05 +0200
parents 917ae89e59ce(current diff)1d4849f9e37d(diff)
children 168efd87e051 b78c321ee9a5
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)