typing docs: Make the PEPs list an expandable section, hidden by default (GH-105353)
(cherry picked from commit
d7645124f56c8832a7630a7f76c99e2630e685d7)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
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
* :pep:`698`: Adding an override decorator to typing
*Introducing* the :func:`@override<override>` decorator
+.. raw:: html
+
+ </details>
+ <br>
+
.. _type-aliases:
Type aliases