1. mirror
  2. cpython

Commits

Ezio Melotti  committed 168efd8 Merge

#17178: merge with 3.3.

  • Participants
  • Parent commits 8b85f10, 34cfe14
  • Branches default

Comments (0)

Files changed (2)

File Misc/ACKS

View file
 Ross Andrus
 Juancarlo Añez
 Jérémy Anger
+Ankur Ankan
 Jon Anglin
 Heidi Annexstad
 Éric Araujo

File Python/bltinmodule.c

View file
 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)
 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)