File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ Oliver Andrich
41
41
Ross Andrus
42
42
Juancarlo Añez
43
43
Jérémy Anger
44
+ Ankur Ankan
44
45
Jon Anglin
45
46
Heidi Annexstad
46
47
Éric Araujo
Original file line number Diff line number Diff line change @@ -263,7 +263,8 @@ builtin_all(PyObject *self, PyObject *v)
263
263
PyDoc_STRVAR (all_doc ,
264
264
"all(iterable) -> bool\n\
265
265
\n\
266
- Return True if bool(x) is True for all values x in the iterable." );
266
+ Return True if bool(x) is True for all values x in the iterable.\n\
267
+ If the iterable is empty, return True." );
267
268
268
269
static PyObject *
269
270
builtin_any (PyObject * self , PyObject * v )
@@ -305,7 +306,8 @@ builtin_any(PyObject *self, PyObject *v)
305
306
PyDoc_STRVAR (any_doc ,
306
307
"any(iterable) -> bool\n\
307
308
\n\
308
- Return True if bool(x) is True for any x in the iterable." );
309
+ Return True if bool(x) is True for any x in the iterable.\n\
310
+ If the iterable is empty, return False." );
309
311
310
312
static PyObject *
311
313
builtin_ascii (PyObject * self , PyObject * v )
You can’t perform that action at this time.
0 commit comments