X Tutup
Skip to content

[3.6] bpo-30354: Update data model documentation for super() (GH-1561)#1868

Merged
Mariatta merged 1 commit intopython:3.6from
csabella:backport-12b1c18-3.6
May 30, 2017
Merged

[3.6] bpo-30354: Update data model documentation for super() (GH-1561)#1868
Mariatta merged 1 commit intopython:3.6from
csabella:backport-12b1c18-3.6

Conversation

@csabella
Copy link
Copy Markdown
Contributor

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 12b1c18)

…H-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.
(cherry picked from commit 12b1c18)
@Mariatta Mariatta added the docs Documentation in the Doc dir label May 30, 2017
@Mariatta Mariatta merged commit ad13d54 into python:3.6 May 30, 2017
@Mariatta
Copy link
Copy Markdown
Member

Thanks!

@csabella
Copy link
Copy Markdown
Contributor Author

Glad to do it. :-)

Should I always do them for my own PRs once they've been merged?

@Mariatta
Copy link
Copy Markdown
Member

Mariatta commented May 30, 2017

Should I always do them for my own PRs once they've been merged?

Sure :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

X Tutup