[Python-checkins] [python/cpython] 75ea91: bpo-30354: Update data model documentation for sup...

GitHub noreply at github.com
Tue May 30 16:47:48 EDT 2017


 Branch: refs/heads/3.5
 Home: https://github.com/python/cpython
 Commit: 75ea91bb736f2a061a3ebc689ff17629bdc15568
 https://github.com/python/cpython/commit/75ea91bb736f2a061a3ebc689ff17629bdc15568
 Author: csabella <chekat2 at gmail.com>
 Date: 2017年05月30日 (2017年5月30日)
 Changed paths:
 M Doc/reference/datamodel.rst
 Log Message:
 -----------
 bpo-30354: Update data model documentation for super() (GH-1561) (GH-1869)
The data model section of the language reference was written well
before the zero-argument form of super() was added.
To avoid giving the impression that they're doing something
unusual, this updates the description of `__new__` and `__init__`
to use the zero-argument form.
Patch by Cheryl Sabella.
(cherry picked from commit 12b1c180986fc744331b8f30d3d2f49a0fdb43dd)


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /