Skip to content

Commit 0f56cb9

Browse files
committed
Small wording change
1 parent caa71f6 commit 0f56cb9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/spec/annotations.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ When a type hint cannot be evaluated at runtime, that
223223
definition may be expressed as a string literal, to be resolved later.
224224

225225
The string literal should contain a syntactically valid Python expression
226-
(i.e., ``compile(lit, '', 'eval')`` should succeed) that evaluates to a valid
226+
(i.e., ``compile(lit, '', 'eval')`` should succeed) that is a valid
227227
:term:`annotation expression`. Regardless of the Python version used, names
228228
within the expression are looked up in the same way as they would be looked up
229229
at runtime in Python 3.14 and higher if the annotation was not enclosed in a

0 commit comments

Comments
 (0)