diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2014-06-16 07:05:37 (GMT) |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2014-06-16 07:05:37 (GMT) |
commit | f2fb73f6757d569d176811e849a2732861ec6eb9 (patch) | |
tree | bf8cac643ebfdf6225a83eee5e06dc9820be8244 /Doc/library/functions.rst | |
parent | d0c1ea42f76e19dc3d04238c29cdd14a7ce39899 (diff) | |
download | cpython-f2fb73f6757d569d176811e849a2732861ec6eb9.zip cpython-f2fb73f6757d569d176811e849a2732861ec6eb9.tar.gz cpython-f2fb73f6757d569d176811e849a2732861ec6eb9.tar.bz2 |
Issue #19362: Tweek len() doc and docstring to expand the indicated range of
arguments. Original patch by Gareth Rees.
Diffstat (limited to 'Doc/library/functions.rst')
-rw-r--r-- | Doc/library/functions.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst index 02e6374..ea489ac 100644 --- a/Doc/library/functions.rst +++ b/Doc/library/functions.rst @@ -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: |