Skip to content

Commit 0ec8d8e

Browse files
srittaujorenham
andauthored
Apply batched suggestions from code review
Co-authored-by: Joren Hammudoglu <jhammudoglu@gmail.com>
1 parent bddb733 commit 0ec8d8e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎docs/spec/distributing.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ assignments::
105105
x = 0 # type: int
106106
x = ... # type: int
107107

108-
The :ref:`Literal shortcut using bare Final <literal-final-interactions>`
108+
The :ref:`Literal shortcut using a bare Final <literal-final-interactions>`
109109
should be supported::
110110

111111
x: Final = 0 # type is Literal[0]

‎docs/spec/qualifiers.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ with ``Final`` to prevent mutating such values::
199199
z: Final = ('a', 'b') # Also works
200200

201201

202-
Type checkers should treat uses of name declared with a :term:`bare Final`
202+
Type checkers should treat uses of names declared with a :term:`bare Final`
203203
that was initialized with a literal as if it was replaced by the literal. For
204204
example, the following should be allowed::
205205

0 commit comments

Comments
 (0)