Files
sphinx/tests
picnixz 480630c649 Support PEP 695 and PEP 696 syntax in the Python domain (#11444)
* Generic classes can be documented with ``.. py:class::`` using PEP 695 syntax:

  .. code:: rst

     .. py:class:: Sequence[T]

* Generic functions can be documented with ``.. py:function::`` using PEP 695 syntax:

  .. code:: rst

     .. py:function:: foo[T](x: T)

* Default values for type bounds are supported.

Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2023-07-23 23:22:40 +01:00
..
2022-09-24 15:10:57 +01:00
2020-11-20 19:43:02 +01:00
2023-02-18 02:16:50 +00:00
2023-02-18 01:58:05 +00:00
2023-01-31 18:30:43 +00:00
2023-02-18 01:58:05 +00:00
2023-02-18 02:16:50 +00:00
2023-02-18 02:16:50 +00:00
2023-03-27 07:22:07 +02:00
2023-02-18 01:58:05 +00:00
2023-02-18 01:58:05 +00:00
2023-02-18 01:58:05 +00:00
2022-02-20 03:13:45 +00:00
2023-03-05 19:03:06 +00:00
2022-09-27 18:31:47 +01:00
2022-02-20 03:13:45 +00:00
2023-02-18 02:16:50 +00:00
2023-02-18 02:16:50 +00:00
2023-02-18 01:58:05 +00:00
2023-01-03 22:36:54 +00:00
2023-02-18 02:16:50 +00:00