File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,6 +37,7 @@ Erik Andersén
3737Oliver Andrich
3838Ross Andrus
3939Jérémy Anger
40+ Ankur Ankan
4041Jon Anglin
4142Heidi Annexstad
4243Éric Araujo
Original file line number Diff line number Diff line change @@ -262,7 +262,8 @@ builtin_all(PyObject *self, PyObject *v)
262262PyDoc_STRVAR (all_doc ,
263263"all(iterable) -> bool\n\
264264\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." );
266267
267268static PyObject *
268269builtin_any (PyObject * self , PyObject * v )
@@ -304,7 +305,8 @@ builtin_any(PyObject *self, PyObject *v)
304305PyDoc_STRVAR (any_doc ,
305306"any(iterable) -> bool\n\
306307\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." );
308310
309311static PyObject *
310312builtin_ascii (PyObject * self , PyObject * v )
You can’t perform that action at this time.
0 commit comments