Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 89c4eef

Browse files
committed
Issue #14691: indent the traceback so the example is highlighted
1 parent 89e6d38 commit 89c4eef

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/library/stdtypes.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2459,7 +2459,7 @@ copying.
24592459
bytearray(b'z123fg')
24602460
>>> v[2:3] = b'spam'
24612461
Traceback (most recent call last):
2462-
File "<stdin>", line 1, in <module>
2462+
File "<stdin>", line 1, in <module>
24632463
ValueError: memoryview assignment: lvalue and rvalue have different structures
24642464
>>> v[2:6] = b'spam'
24652465
>>> data

0 commit comments

Comments
 (0)