Skip to content

Commit 5e4d1d9

Browse files
committed
Add colon
1 parent 7b3e41d commit 5e4d1d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/reference/expressions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1094,7 +1094,7 @@ The subscript may also be given as a single expression or slice followed
10941094
by a comma, to specify a one-element tuple::
10951095

10961096
>>> demo['spam',]
1097-
subscripted with ('spam',)
1097+
subscripted with: ('spam',)
10981098

10991099

11001100
"Starred" subscriptions

0 commit comments

Comments
 (0)