]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Mark len call as a code snippet in stdtypes.rst. (GH-9804)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 7 Nov 2018 17:54:48 +0000 (09:54 -0800)
committerGitHub <noreply@github.com>
Wed, 7 Nov 2018 17:54:48 +0000 (09:54 -0800)
(cherry picked from commit ca03f3b93ee5c2943a2b8cbf9447f99f835ec672)

Co-authored-by: Andrés Delfino <adelfino@gmail.com>
Doc/library/stdtypes.rst

index 23e6c917b9dd7c702a4ab427b904a25dd0c8d358..a5fca9d4690066e445440fa221c17ccf872fa0c2 100644 (file)
@@ -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])