Skip to content

Commit e163984

Browse files
committed
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.
1 parent bbdb64b commit e163984

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

peps/pep-0747.rst

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -670,22 +670,12 @@ Acknowledgements
670670
Footnotes
671671
=========
672672

673-
.. [#type_t]
674-
:ref:`Type[T] <typing:type-brackets>` spells a class object
675-
676-
.. [#TypeIs]
677-
:ref:`TypeIs[T] <typing:typeis>` is similar to bool
673+
* :ref:`Type[T] <typing:type-brackets>` spells a class object
678674

679675
.. [#DataclassInitVar]
680676
``dataclass.make_dataclass`` allows the type qualifier ``InitVar[...]``,
681677
so ``TypeForm`` cannot be used in this case.
682678
683-
.. [#forward_ref_normalization]
684-
Special forms normalize string arguments to ``ForwardRef`` instances
685-
at runtime using internal helper functions in the ``typing`` module.
686-
Runtime type checkers may wish to implement similar functions when
687-
working with string-based forward references.
688-
689679
.. [#quoted_less_common]
690680
Quoted annotations are expected to become less common starting in Python
691681
3.14 when :pep:`deferred annotations <649>` is implemented. However,

0 commit comments

Comments
 (0)