]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-33726, doc: Add short descriptions to PEP references in seealso (GH-7294)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 19 Oct 2018 23:43:55 +0000 (16:43 -0700)
committerGitHub <noreply@github.com>
Fri, 19 Oct 2018 23:43:55 +0000 (16:43 -0700)
(cherry picked from commit 0f14fc1a7cb2ea0012d0a943e4460acdee2108d7)

Co-authored-by: Andrés Delfino <adelfino@gmail.com>
Doc/reference/compound_stmts.rst
Doc/reference/simple_stmts.rst

index 2e832c2d22c1636ad6c3a323241d8cf60ac483b2..c49efa5889f253db08b1f994923a7132b5874fad 100644 (file)
@@ -680,8 +680,14 @@ can be used to create instance variables with different implementation details.
 
 .. 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
+      The proposal that added class decorators.  Function and method decorators
+      were introduced in :pep:`318`.
 
 
 .. _async:
@@ -808,6 +814,8 @@ coroutine.
 .. seealso::
 
    :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
index 47f7c7bfffb051ce24f777aa001addc4bc431e8c..9b93601135ded075d1153b6dcf5bfe00bb7fa4f9 100644 (file)
@@ -353,8 +353,15 @@ target, then the interpreter evaluates the target except for the last
 
 .. 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
+      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: