summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorAndrés Delfino <adelfino@gmail.com>2018-11-07 17:22:47 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2018-11-07 17:22:47 (GMT)
commitca03f3b93ee5c2943a2b8cbf9447f99f835ec672 (patch)
tree1f7edb9ca78a4b00ebc711362ace1fdb79b6765a /Doc/library
parentea6a28c9f7e4baa5fe775cebce697a14a7d7da8b (diff)
downloadcpython-ca03f3b93ee5c2943a2b8cbf9447f99f835ec672.zip
cpython-ca03f3b93ee5c2943a2b8cbf9447f99f835ec672.tar.gz
cpython-ca03f3b93ee5c2943a2b8cbf9447f99f835ec672.tar.bz2
Mark len call as a code snippet in stdtypes.rst. (GH-9804)
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/stdtypes.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst
index 49d4338..18cd0b0 100644
--- a/Doc/library/stdtypes.rst
+++ b/Doc/library/stdtypes.rst
@@ -3809,7 +3809,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])