projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea6a28c
)
Mark len call as a code snippet in stdtypes.rst. (GH-9804)
author
Andrés Delfino
<adelfino@gmail.com>
Wed, 7 Nov 2018 17:22:47 +0000
(14:22 -0300)
committer
Serhiy Storchaka
<storchaka@gmail.com>
Wed, 7 Nov 2018 17:22:47 +0000
(19:22 +0200)
Doc/library/stdtypes.rst
patch
|
blob
|
history
diff --git
a/Doc/library/stdtypes.rst
b/Doc/library/stdtypes.rst
index 49d433805a3289f52e33cd1d56e4574a82773f9f..18cd0b06885af9ca321dd866d6498f3cbee471f3 100644
(file)
--- 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])