mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Issue #19362: Tweek len() doc and docstring to expand the indicated range of
arguments. Original patch by Gareth Rees.
This commit is contained in:
parent
d0c1ea42f7
commit
f2fb73f675
2 changed files with 3 additions and 2 deletions
|
@ -1327,7 +1327,7 @@ builtin_len(PyObject *self, PyObject *v)
|
|||
PyDoc_STRVAR(len_doc,
|
||||
"len(object)\n\
|
||||
\n\
|
||||
Return the number of items of a sequence or mapping.");
|
||||
Return the number of items of a sequence or collection.");
|
||||
|
||||
|
||||
static PyObject *
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue