[Python-checkins] cpython (3.2): Indent 'File' in memoryview example, so it is correctly highlighted
sandro.tosi
python-checkins at python.org
Sun Feb 19 12:33:49 CET 2012
http://hg.python.org/cpython/rev/c3e0a0c79696
changeset: 75033:c3e0a0c79696
branch: 3.2
parent: 75029:ddaf9a2a1d63
user: Sandro Tosi <sandro.tosi at gmail.com>
date: Sun Feb 19 12:28:01 2012 +0100
summary:
Indent 'File' in memoryview example, so it is correctly highlighted
files:
Doc/library/stdtypes.rst | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst
--- a/Doc/library/stdtypes.rst
+++ b/Doc/library/stdtypes.rst
@@ -2378,7 +2378,7 @@
bytearray(b'z123fg')
>>> v[2] = b'spam'
Traceback (most recent call last):
- File "<stdin>", line 1, in <module>
+ File "<stdin>", line 1, in <module>
ValueError: cannot modify size of memoryview object
Notice how the size of the memoryview object cannot be changed.
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list