From 86daa4986a78a39c6aa09e4b4abf6b82b60eb8e6 Mon Sep 17 00:00:00 2001 From: wyattscarpenter Date: Thu, 11 Sep 2025 17:42:07 +0700 Subject: [PATCH] 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 https://github.com/python/mypy/pull/19252, though. --- docs/source/kinds_of_types.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/source/kinds_of_types.rst b/docs/source/kinds_of_types.rst index 8e721c0fb321..23ebc14e8670 100644 --- a/docs/source/kinds_of_types.rst +++ b/docs/source/kinds_of_types.rst @@ -294,6 +294,7 @@ isn't supported by the runtime with some limitations, if you use def f(x: int | str) -> None: # OK on Python 3.7 and later ... +.. _no-strict-optional: .. _strict_optional: Optional types and the None type