projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd96b4f
)
fix error in memoryview example; thanks to kan lianlian from docs@
author
Sandro Tosi
<sandro.tosi@gmail.com>
Sat, 18 Feb 2012 15:05:34 +0000
(16:05 +0100)
committer
Sandro Tosi
<sandro.tosi@gmail.com>
Sat, 18 Feb 2012 15:05:34 +0000
(16:05 +0100)
Doc/library/stdtypes.rst
patch
|
blob
|
history
diff --git
a/Doc/library/stdtypes.rst
b/Doc/library/stdtypes.rst
index 2714633fa4c92021c639648b2bc0ea34f5739aa5..91f8d69cf2ebf035ecf73241bc05fb8bed0b91ab 100644
(file)
--- a/
Doc/library/stdtypes.rst
+++ b/
Doc/library/stdtypes.rst
@@
-2375,7
+2375,7
@@
copying. Memory is generally interpreted as simple bytes.
bytearray(b'zbcefg')
>>> v[1:4] = b'123'
>>> data
- bytearray(b'
a
123fg')
+ bytearray(b'
z
123fg')
>>> v[2] = b'spam'
Traceback (most recent call last):
File "<stdin>", line 1, in <module>