Skip to content

Commit 2af9ffd

Browse files
authored
PEP 747: fix rst syntax (#4004)
1 parent cb97c7c commit 2af9ffd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

peps/pep-0747.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ For example, if a static type checker encounters the expression ``str | None``,
223223
it may normally evaluate its type as ``UnionType`` because it produces a
224224
runtime value that is an instance of ``types.UnionType``. However, because
225225
this expression is a valid type expression, it is also assignable to the
226-
type ``TypeForm[str | None]``:
226+
type ``TypeForm[str | None]``::
227227

228228
v1_actual: UnionType = str | None # OK
229229
v1_type_form: TypeForm[str | None] = str | None # OK

0 commit comments

Comments
 (0)