File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ Pehr Anderson
3333Erik Andersén
3434Oliver Andrich
3535Ross Andrus
36+ Ankur Ankan
3637Heidi Annexstad
3738Éric Araujo
3839Jeffrey Armstrong
Original file line number Diff line number Diff line change @@ -120,7 +120,8 @@ builtin_all(PyObject *self, PyObject *v)
120120PyDoc_STRVAR (all_doc ,
121121"all(iterable) -> bool\n\
122122\n\
123- Return True if bool(x) is True for all values x in the iterable." );
123+ Return True if bool(x) is True for all values x in the iterable.\n\
124+ If the iterable is empty, return True." );
124125
125126static PyObject *
126127builtin_any (PyObject * self , PyObject * v )
@@ -162,7 +163,8 @@ builtin_any(PyObject *self, PyObject *v)
162163PyDoc_STRVAR (any_doc ,
163164"any(iterable) -> bool\n\
164165\n\
165- Return True if bool(x) is True for any x in the iterable." );
166+ Return True if bool(x) is True for any x in the iterable.\n\
167+ If the iterable is empty, return False." );
166168
167169static PyObject *
168170builtin_apply (PyObject * self , PyObject * args )
You can’t perform that action at this time.
0 commit comments