From: Andrés Delfino Date: Wed, 7 Nov 2018 17:22:47 +0000 (-0300) Subject: Mark len call as a code snippet in stdtypes.rst. (GH-9804) X-Git-Tag: v3.8.0a1~555 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ca03f3b93ee5c2943a2b8cbf9447f99f835ec672;p=thirdparty%2FPython%2Fcpython.git Mark len call as a code snippet in stdtypes.rst. (GH-9804) --- diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index 49d433805a32..18cd0b06885a 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])