From e163984551c64b566d6d1b8114c171c9de22cc58 Mon Sep 17 00:00:00 2001 From: Bartosz Sokorski Date: Tue, 14 Apr 2026 13:47:01 +0200 Subject: [PATCH] PEP 747: Fix Sphinx warnings - #type_t reference was introduced in PR#3929, but was not used in the document text. Converted to a bullet point. - #TypeIs reference was converted from #TypeIsPep, however it is now linked in code via a `typing` reference. Removed it. - #forward_ref_normalization reference usage was removed in PR#3929, but the reference was left behind. Since it makes little sense without the usage, removed it. --- peps/pep-0747.rst | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/peps/pep-0747.rst b/peps/pep-0747.rst index e81d57b3700..5be0185310e 100644 --- a/peps/pep-0747.rst +++ b/peps/pep-0747.rst @@ -670,22 +670,12 @@ Acknowledgements Footnotes ========= -.. [#type_t] - :ref:`Type[T] ` spells a class object - -.. [#TypeIs] - :ref:`TypeIs[T] ` is similar to bool +* :ref:`Type[T] ` spells a class object .. [#DataclassInitVar] ``dataclass.make_dataclass`` allows the type qualifier ``InitVar[...]``, so ``TypeForm`` cannot be used in this case. -.. [#forward_ref_normalization] - Special forms normalize string arguments to ``ForwardRef`` instances - at runtime using internal helper functions in the ``typing`` module. - Runtime type checkers may wish to implement similar functions when - working with string-based forward references. - .. [#quoted_less_common] Quoted annotations are expected to become less common starting in Python 3.14 when :pep:`deferred annotations <649>` is implemented. However,