commit | 12b1c180986fc744331b8f30d3d2f49a0fdb43dd | [log] [tgz] |
---|---|---|
author | csabella <chekat2@gmail.com> | Sun May 14 20:42:00 2017 -0700 |
committer | Nick Coghlan <ncoghlan@gmail.com> | Mon May 15 13:42:00 2017 +1000 |
tree | 3b6c4a88002fab20344f9925227a46f2f3e5420f | |
parent | d48214f22c84f3d949457c854e263074994b6fa2 [diff] |
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.