bpo-33726: Add short descriptions to PEP references in seealso#7294
Conversation
willingc
left a comment
There was a problem hiding this comment.
Thanks @andresdelfino. I've made a few suggestions that I believe give the reader more clarity on some of the PEPs. Please take a look and edit as you see best.
|
|
||
| :pep:`3115` - Metaclasses in Python 3 | ||
| :pep:`3115` - Metaclasses in Python 3000 | ||
| The proposal that introduced the current syntax for declaring metaclasses, |
There was a problem hiding this comment.
Perhaps:
The proposal that changed the declaration of metaclasses to the current syntax, and the semantics...
| and the semantics for how classes with metaclasses are constructed. | ||
|
|
||
| :pep:`3129` - Class Decorators | ||
| The proposal that added class decorators, as an extension to |
There was a problem hiding this comment.
Perhaps:
The proposal that added class decorators. Function and method decorators were introduced earlier in :pep:318.
| .. seealso:: | ||
|
|
||
| :pep:`492` - Coroutines with async and await syntax | ||
| The proposal that made coroutines a proper standalone concept in Python, |
There was a problem hiding this comment.
...Python, and added supporting
|
|
||
| :pep:`526` - Variable and attribute annotation syntax | ||
| :pep:`526` - Syntax for Variable Annotations | ||
| The proposal that added syntax for annotating variables and class |
There was a problem hiding this comment.
The proposal that added syntax for annotating the types of variables (including class variables and instance variables), instead of expressing them through comments.
| attributes. | ||
|
|
||
| :pep:`484` - Type hints | ||
| The proposal that added the :mod:`typing` module to ease the use of |
There was a problem hiding this comment.
...module to provide a standard syntax for type annotations that can be used in static analysis tools and IDEs.
|
@willingc all your suggestions seemed right to me, and I have included them verbatim. |
willingc
left a comment
There was a problem hiding this comment.
Thanks @andresdelfino. This looks good to me.
@serhiy-storchaka or @Mariatta would either of you be able to take a look too. I want to make sure before I merge that I'm doing the backport correctly (I'm assuming the bot will do it, but want to double check). Thanks.
|
Yep, everything looks good. Ready to merge, @willingc. Miss-islington will backport :) |
|
LGTM if it LGT you. Just don't forget to edit the commit message after pressing the "Squash and merge" button. |
|
Thanks @andresdelfino for the PR, and @vstinner for merging it 🌮🎉.. I'm working now to backport this PR to: 3.6, 3.7. |
|
GH-9980 is a backport of this pull request to the 3.7 branch. |
…ythonGH-7294) (cherry picked from commit 0f14fc1) Co-authored-by: Andrés Delfino <adelfino@gmail.com>
|
GH-9981 is a backport of this pull request to the 3.6 branch. |
…ythonGH-7294) (cherry picked from commit 0f14fc1) Co-authored-by: Andrés Delfino <adelfino@gmail.com>


https://bugs.python.org/issue33726