diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2018-11-07 17:54:48 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-07 17:54:48 (GMT) |
commit | 55e1173c4f9a2c8b9f6ea7e54950ce50ec850efb (patch) | |
tree | d39756f5e194b5863558a802dd133874a75412e3 /Doc/library | |
parent | e422de828fba695a49dc7e9cbef30e87d4c4f249 (diff) | |
download | cpython-55e1173c4f9a2c8b9f6ea7e54950ce50ec850efb.zip cpython-55e1173c4f9a2c8b9f6ea7e54950ce50ec850efb.tar.gz cpython-55e1173c4f9a2c8b9f6ea7e54950ce50ec850efb.tar.bz2 |
Mark len call as a code snippet in stdtypes.rst. (GH-9804)
(cherry picked from commit ca03f3b93ee5c2943a2b8cbf9447f99f835ec672)
Co-authored-by: Andrés Delfino <adelfino@gmail.com>
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/stdtypes.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index 23e6c91..a5fca9d 100644 --- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst @@ -3743,7 +3743,7 @@ copying. ``nbytes == product(shape) * itemsize == len(m.tobytes())``. This is the amount of space in bytes that the array would use in a contiguous - representation. It is not necessarily equal to len(m):: + representation. It is not necessarily equal to ``len(m)``:: >>> import array >>> a = array.array('i', [1,2,3,4,5]) |