Skip to content

Commit

Permalink
[3.12] typing docs: Make the PEPs list an expandable section, hidden …
Browse files Browse the repository at this point in the history
…by default (GH-105353) (#105420)

typing docs: Make the PEPs list an expandable section, hidden by default (GH-105353)
(cherry picked from commit d764512)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
  • Loading branch information
3 people authored Jun 7, 2023
1 parent ca4649a commit a36fb69
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion Doc/library/typing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,12 @@ Relevant PEPs

Since the initial introduction of type hints in :pep:`484` and :pep:`483`, a
number of PEPs have modified and enhanced Python's framework for type
annotations. These include:
annotations:

.. raw:: html

<details>
<summary><a style="cursor:pointer;">The full list of PEPs</a></summary>

* :pep:`526`: Syntax for Variable Annotations
*Introducing* syntax for annotating variables outside of function
Expand Down Expand Up @@ -106,6 +111,11 @@ annotations. These include:
* :pep:`698`: Adding an override decorator to typing
*Introducing* the :func:`@override<override>` decorator

.. raw:: html

</details>
<br>

.. _type-aliases:

Type aliases
Expand Down

0 comments on commit a36fb69

Please sign in to comment.