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

GitHub noreply at github.com
Sun May 14 23:42:01 EDT 2017


  Branch: refs/heads/master
  Home:   https://github.com/python/cpython
  Commit: 12b1c180986fc744331b8f30d3d2f49a0fdb43dd
      https://github.com/python/cpython/commit/12b1c180986fc744331b8f30d3d2f49a0fdb43dd
  Author: csabella <chekat2 at gmail.com>
  Date:   2017-05-15 (Mon, 15 May 2017)

  Changed paths:
    M Doc/reference/datamodel.rst

  Log Message:
  -----------
  bpo-30354: Update data model documentation for super() (GH-1561)

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.




More information about the Python-checkins mailing list