mirror of
https://github.com/python/cpython.git
synced 2025-11-03 03:22:27 +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
|
|
@ -742,7 +742,8 @@ are always available. They are listed here in alphabetical order.
|
|||
.. function:: len(s)
|
||||
|
||||
Return the length (the number of items) of an object. The argument may be a
|
||||
sequence (string, tuple or list) or a mapping (dictionary).
|
||||
sequence (such as a string, bytes, tuple, list, or range) or a collection
|
||||
(such as a dictionary, set, or frozen set).
|
||||
|
||||
|
||||
.. _func-list:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue