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 @@ -37,6 +37,7 @@ Erik Andersén
37
37
Oliver Andrich
38
38
Ross Andrus
39
39
Jérémy Anger
40
+ Ankur Ankan
40
41
Jon Anglin
41
42
Heidi Annexstad
42
43
Éric Araujo
Original file line number Diff line number Diff line change @@ -262,7 +262,8 @@ builtin_all(PyObject *self, PyObject *v)
262
262
PyDoc_STRVAR (all_doc ,
263
263
"all(iterable) -> bool\n\
264
264
\n\
265
- Return True if bool(x) is True for all values x in the iterable." );
265
+ Return True if bool(x) is True for all values x in the iterable.\n\
266
+ If the iterable is empty, return True." );
266
267
267
268
static PyObject *
268
269
builtin_any (PyObject * self , PyObject * v )
@@ -304,7 +305,8 @@ builtin_any(PyObject *self, PyObject *v)
304
305
PyDoc_STRVAR (any_doc ,
305
306
"any(iterable) -> bool\n\
306
307
\n\
307
- Return True if bool(x) is True for any x in the iterable." );
308
+ Return True if bool(x) is True for any x in the iterable.\n\
309
+ If the iterable is empty, return False." );
308
310
309
311
static PyObject *
310
312
builtin_ascii (PyObject * self , PyObject * v )
You can’t perform that action at this time.
0 commit comments