]> granicus.if.org Git - python/commitdiff
bpo-33726, doc: Add short descriptions to PEP references in seealso (GH-7294)
authorAndrés Delfino <adelfino@gmail.com>
Fri, 19 Oct 2018 23:31:15 +0000 (20:31 -0300)
committerVictor Stinner <vstinner@redhat.com>
Fri, 19 Oct 2018 23:31:15 +0000 (01:31 +0200)
Doc/reference/compound_stmts.rst
Doc/reference/simple_stmts.rst

index ddc796adcd77f69f644748ef28a7c5e8238bf257..638e1604c1679bb10d66b1eb8cfe83138c75bb48 100644 (file)
@@ -681,8 +681,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:
@@ -809,6 +815,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 bb1eea66f98bbc37a9f607eae0a04370215b53ae..f98721cd65527f3d1c7f5e0e1dff0eab20115523 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: