[Python-checkins] cpython: Issue #14691: indent the traceback so the example is highlighted

sandro.tosi python-checkins at python.org
Sun Apr 29 20:35:16 CEST 2012


http://hg.python.org/cpython/rev/925fbcfbbc45
changeset:   76639:925fbcfbbc45
user:        Sandro Tosi <sandro.tosi at gmail.com>
date:        Sun Apr 29 20:33:28 2012 +0200
summary:
  Issue #14691: indent the traceback so the example is 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
@@ -2459,7 +2459,7 @@
       bytearray(b'z123fg')
       >>> v[2:3] = b'spam'
       Traceback (most recent call last):
-      File "<stdin>", line 1, in <module>
+        File "<stdin>", line 1, in <module>
       ValueError: memoryview assignment: lvalue and rvalue have different structures
       >>> v[2:6] = b'spam'
       >>> data

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list