Mark len call as a code snippet in stdtypes.rst. (GH-9804)
authorAndrés Delfino <adelfino@gmail.com>
Wed, 7 Nov 2018 17:22:47 +0000 (14:22 -0300)
committerSerhiy Storchaka <storchaka@gmail.com>
Wed, 7 Nov 2018 17:22:47 +0000 (19:22 +0200)
Doc/library/stdtypes.rst

index 49d433805a3289f52e33cd1d56e4574a82773f9f..18cd0b06885af9ca321dd866d6498f3cbee471f3 100644 (file)
@@ -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])