Skip to content

Commit 7fa581c

Browse files
committed
PEP 747: Fix Sphinx warnings
- #type_t reference was introduced in PR#3929, but was not used in the document text. Removed it. - #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 7fa581c

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

peps/pep-0747.rst

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -670,22 +670,10 @@ 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
678-
679673
.. [#DataclassInitVar]
680674
``dataclass.make_dataclass`` allows the type qualifier ``InitVar[...]``,
681675
so ``TypeForm`` cannot be used in this case.
682676
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-
689677
.. [#quoted_less_common]
690678
Quoted annotations are expected to become less common starting in Python
691679
3.14 when :pep:`deferred annotations <649>` is implemented. However,

0 commit comments

Comments
 (0)