Skip to content

Commit 7963447

Browse files
authored
Update syntax error example in tutorial
Fix formatting issues in error message example
1 parent 1db6345 commit 7963447

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/tutorial/errors.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ complaint you get while you are still learning Python::
2020
>>> a[1]] = 0
2121
File "<stdin>", line 1
2222
a[1]] = 0
23-
^
23+
^
2424
SyntaxError: unmatched ']'
2525

2626
The parser repeats the offending line and displays a little arrow pointing

0 commit comments

Comments
 (0)