Skip to content

Commit 03e6457

Browse files
authored
Remove outdated comment about excess_args warning in object.__init__ (#143669)
The code emitting a warning was removed in 96384b9.
1 parent 75d73c3 commit 03e6457

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

Objects/typeobject.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7128,12 +7128,6 @@ PyTypeObject PyType_Type = {
71287128
symmetrically, __new__() complains about excess arguments unless
71297129
__init__() is overridden and __new__() is not overridden
71307130
(IOW, if __new__() is overridden or __init__() is not overridden).
7131-
7132-
However, for backwards compatibility, this breaks too much code.
7133-
Therefore, in 2.6, we'll *warn* about excess arguments when both
7134-
methods are overridden; for all other cases we'll use the above
7135-
rules.
7136-
71377131
*/
71387132

71397133
/* Forward */

0 commit comments

Comments
 (0)