Skip to content

Commit 86daa49

Browse files
Update kinds_of_types.rst: keep old anchor for #no-strict-optional
Not sure if this will work, since something else has the same anchor on a different page... See python#19252, though.
1 parent 9ae3e9a commit 86daa49

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/source/kinds_of_types.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,7 @@ isn't supported by the runtime with some limitations, if you use
294294
def f(x: int | str) -> None: # OK on Python 3.7 and later
295295
...
296296
297+
.. _no-strict-optional:
297298
.. _strict_optional:
298299

299300
Optional types and the None type

0 commit comments

Comments
 (0)