[python/cpython] ad13d5: bpo-30354: Update data model documentation for sup...
Branch: refs/heads/3.6 Home: https://github.com/python/cpython Commit: ad13d54646d189cea8e6f7a9bc4a87e20df33ac4 https://github.com/python/cpython/commit/ad13d54646d189cea8e6f7a9bc4a87e20df... Author: csabella <chekat2@gmail.com> Date: 2017-05-30 (Tue, 30 May 2017) Changed paths: M Doc/reference/datamodel.rst Log Message: ----------- bpo-30354: Update data model documentation for super() (GH-1561) (GH-1868) 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)
participants (1)
-
GitHub