Skip to content

Commit b2558aa

Browse files
authored
Fix typo in literal.rst (python#1784)
1 parent 9642a5a commit b2558aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/spec/literal.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ Literals can be used to "intelligently index" into structured types like
329329
tuples, NamedTuple, and classes. (Note: this is not an exhaustive list).
330330

331331
For example, type checkers should infer the correct value type when
332-
indexing into a tuple using an int key that corresponds a valid index::
332+
indexing into a tuple using an int key that corresponds to a valid index::
333333

334334
a: Literal[0] = 0
335335
b: Literal[5] = 5

0 commit comments

Comments
 (0)