diff options
author | Sandro Tosi <sandro.tosi@gmail.com> | 2012-02-19 11:28:01 (GMT) |
---|---|---|
committer | Sandro Tosi <sandro.tosi@gmail.com> | 2012-02-19 11:28:01 (GMT) |
commit | 76dea27421916d3af77273a2e724ffef0d146bdd (patch) | |
tree | a01f14d7d118c37d3b0c4219cebb3779cf0f807e /Doc/library | |
parent | 496c53d83e736c54d3790c61b0d389df286c0a27 (diff) | |
download | cpython-76dea27421916d3af77273a2e724ffef0d146bdd.zip cpython-76dea27421916d3af77273a2e724ffef0d146bdd.tar.gz cpython-76dea27421916d3af77273a2e724ffef0d146bdd.tar.bz2 |
Indent 'File' in memoryview example, so it is correctly highlighted
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/stdtypes.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index 91f8d69..5f5d3b6 100644 --- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst @@ -2378,7 +2378,7 @@ copying. Memory is generally interpreted as simple bytes. 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. |