mirror of
https://github.com/python/cpython.git
synced 2026-01-25 08:42:15 +00:00
Remove outdated comment about excess_args warning in object.__init__ (#143669)
The code emitting a warning was removed in 96384b93aa.
This commit is contained in:
parent
75d73c3674
commit
03e6457096
1 changed files with 0 additions and 6 deletions
|
|
@ -7128,12 +7128,6 @@ PyTypeObject PyType_Type = {
|
|||
symmetrically, __new__() complains about excess arguments unless
|
||||
__init__() is overridden and __new__() is not overridden
|
||||
(IOW, if __new__() is overridden or __init__() is not overridden).
|
||||
|
||||
However, for backwards compatibility, this breaks too much code.
|
||||
Therefore, in 2.6, we'll *warn* about excess arguments when both
|
||||
methods are overridden; for all other cases we'll use the above
|
||||
rules.
|
||||
|
||||
*/
|
||||
|
||||
/* Forward */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue