diff options
author | Martin Panter <vadmium+py@gmail.com> | 2016-12-18 05:41:55 (GMT) |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2016-12-18 05:41:55 (GMT) |
commit | fc29c88b5f299f0fad9919dd92628f810b4b4711 (patch) | |
tree | ffb98421a6dcb7414bc943d008674b0e440c57de /Doc/whatsnew | |
parent | 3e8d9413eb6b5126de3181c30ed3edea399d4934 (diff) | |
parent | 59b0eb524f6b476db0805ba0a83661122a3fa2fe (diff) | |
download | cpython-fc29c88b5f299f0fad9919dd92628f810b4b4711.zip cpython-fc29c88b5f299f0fad9919dd92628f810b4b4711.tar.gz cpython-fc29c88b5f299f0fad9919dd92628f810b4b4711.tar.bz2 |
Issue #28987: Merge doc and comment fixes from 3.6
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r-- | Doc/whatsnew/3.6.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/whatsnew/3.6.rst b/Doc/whatsnew/3.6.rst index 922ee64..a3c3d89 100644 --- a/Doc/whatsnew/3.6.rst +++ b/Doc/whatsnew/3.6.rst @@ -360,7 +360,7 @@ ensure that the new ``__classcell__`` namespace entry is propagated to PEP 487: Descriptor Protocol Enhancements ----------------------------------------- -:pep:`487` extends the descriptor protocol has to include the new optional +:pep:`487` extends the descriptor protocol to include the new optional :meth:`~object.__set_name__` method. Whenever a new class is defined, the new method will be called on all descriptors included in the definition, providing them with a reference to the class being defined and the name given to the |