mirror of https://github.com/python/cpython
gh-103721: Improve cross-references for generic-alias docs (#103838)
Cc. @adriangb The "stub documentation" in `types.rst` does already link to the in-depth docs in `stdtypes.rst`, but the link isn't obvious for new users. It deserves to be made more prominent. - Issue: https://github.com/python/cpython/issues/103721
This commit is contained in:
parent
32bea69b89
commit
cef542ca57
|
@ -351,6 +351,13 @@ Standard names are defined for the following types:
|
|||
.. versionchanged:: 3.9.2
|
||||
This type can now be subclassed.
|
||||
|
||||
.. seealso::
|
||||
|
||||
:ref:`Generic Alias Types<types-genericalias>`
|
||||
In-depth documentation on instances of :class:`!types.GenericAlias`
|
||||
|
||||
:pep:`585` - Type Hinting Generics In Standard Collections
|
||||
Introducing the :class:`!types.GenericAlias` class
|
||||
|
||||
.. class:: UnionType
|
||||
|
||||
|
|
Loading…
Reference in New Issue