mirror of
https://github.com/python/cpython.git
synced 2025-08-02 16:13:13 +00:00
bpo-33726, doc: Add short descriptions to PEP references in seealso (GH-7294)
This commit is contained in:
parent
6f17e51345
commit
0f14fc1a7c
2 changed files with 17 additions and 2 deletions
|
@ -681,8 +681,14 @@ can be used to create instance variables with different implementation details.
|
||||||
|
|
||||||
.. seealso::
|
.. seealso::
|
||||||
|
|
||||||
:pep:`3115` - Metaclasses in Python 3
|
:pep:`3115` - Metaclasses in Python 3000
|
||||||
|
The proposal that changed the declaration of metaclasses to the current
|
||||||
|
syntax, and the semantics for how classes with metaclasses are
|
||||||
|
constructed.
|
||||||
|
|
||||||
:pep:`3129` - Class Decorators
|
:pep:`3129` - Class Decorators
|
||||||
|
The proposal that added class decorators. Function and method decorators
|
||||||
|
were introduced in :pep:`318`.
|
||||||
|
|
||||||
|
|
||||||
.. _async:
|
.. _async:
|
||||||
|
@ -809,6 +815,8 @@ coroutine.
|
||||||
.. seealso::
|
.. seealso::
|
||||||
|
|
||||||
:pep:`492` - Coroutines with async and await syntax
|
:pep:`492` - Coroutines with async and await syntax
|
||||||
|
The proposal that made coroutines a proper standalone concept in Python,
|
||||||
|
and added supporting syntax.
|
||||||
|
|
||||||
|
|
||||||
.. rubric:: Footnotes
|
.. rubric:: Footnotes
|
||||||
|
|
|
@ -353,8 +353,15 @@ target, then the interpreter evaluates the target except for the last
|
||||||
|
|
||||||
.. seealso::
|
.. seealso::
|
||||||
|
|
||||||
:pep:`526` - Variable and attribute annotation syntax
|
:pep:`526` - Syntax for Variable Annotations
|
||||||
|
The proposal that added syntax for annotating the types of variables
|
||||||
|
(including class variables and instance variables), instead of expressing
|
||||||
|
them through comments.
|
||||||
|
|
||||||
:pep:`484` - Type hints
|
:pep:`484` - Type hints
|
||||||
|
The proposal that added the :mod:`typing` module to provide a standard
|
||||||
|
syntax for type annotations that can be used in static analysis tools and
|
||||||
|
IDEs.
|
||||||
|
|
||||||
|
|
||||||
.. _assert:
|
.. _assert:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue