mirror of
https://github.com/python/cpython.git
synced 2025-10-21 14:12:27 +00:00
#17178: merge with 3.2.
This commit is contained in:
commit
293ab9728a
2 changed files with 5 additions and 2 deletions
|
@ -41,6 +41,7 @@ Oliver Andrich
|
||||||
Ross Andrus
|
Ross Andrus
|
||||||
Juancarlo Añez
|
Juancarlo Añez
|
||||||
Jérémy Anger
|
Jérémy Anger
|
||||||
|
Ankur Ankan
|
||||||
Jon Anglin
|
Jon Anglin
|
||||||
Heidi Annexstad
|
Heidi Annexstad
|
||||||
Éric Araujo
|
Éric Araujo
|
||||||
|
|
|
@ -263,7 +263,8 @@ builtin_all(PyObject *self, PyObject *v)
|
||||||
PyDoc_STRVAR(all_doc,
|
PyDoc_STRVAR(all_doc,
|
||||||
"all(iterable) -> bool\n\
|
"all(iterable) -> bool\n\
|
||||||
\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 *
|
static PyObject *
|
||||||
builtin_any(PyObject *self, PyObject *v)
|
builtin_any(PyObject *self, PyObject *v)
|
||||||
|
@ -305,7 +306,8 @@ builtin_any(PyObject *self, PyObject *v)
|
||||||
PyDoc_STRVAR(any_doc,
|
PyDoc_STRVAR(any_doc,
|
||||||
"any(iterable) -> bool\n\
|
"any(iterable) -> bool\n\
|
||||||
\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 *
|
static PyObject *
|
||||||
builtin_ascii(PyObject *self, PyObject *v)
|
builtin_ascii(PyObject *self, PyObject *v)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue