We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
literal.rst
1 parent 9642a5a commit b2558aaCopy full SHA for b2558aa
docs/spec/literal.rst
@@ -329,7 +329,7 @@ Literals can be used to "intelligently index" into structured types like
329
tuples, NamedTuple, and classes. (Note: this is not an exhaustive list).
330
331
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::
+indexing into a tuple using an int key that corresponds to a valid index::
333
334
a: Literal[0] = 0
335
b: Literal[5] = 5
0 commit comments