Remove extra underscore. (#1193)

This commit is contained in:
Brandt Bucher 2019-10-03 22:21:47 -07:00 committed by Chris Angelico
parent 10aa84ee53
commit a04dbb555b
1 changed files with 1 additions and 1 deletions

View File

@ -268,7 +268,7 @@ As a second change, the new ``type.__init__`` just ignores keyword
arguments. Currently, it insists that no keyword arguments are given. This arguments. Currently, it insists that no keyword arguments are given. This
leads to a (wanted) error if one gives keyword arguments to a class declaration leads to a (wanted) error if one gives keyword arguments to a class declaration
if the metaclass does not process them. Metaclass authors that do want to if the metaclass does not process them. Metaclass authors that do want to
accept keyword arguments must filter them out by overriding ``__init___``. accept keyword arguments must filter them out by overriding ``__init__``.
In the new code, it is not ``__init__`` that complains about keyword arguments, In the new code, it is not ``__init__`` that complains about keyword arguments,
but ``__init_subclass__``, whose default implementation takes no arguments. In but ``__init_subclass__``, whose default implementation takes no arguments. In