Fix another typo in PEP 487
This commit is contained in:
parent
07d557fedf
commit
672f5f41b1
|
@ -345,8 +345,8 @@ with the recommendation to override ``__new__`` in metaclasses instead of
|
|||
class MyClass(metaclass=MyMeta, otherarg=1):
|
||||
pass
|
||||
|
||||
Only defining a ``__init__`` in a metaclass continues to fail with ``TypeError``
|
||||
if keyword arguments are given::
|
||||
Only defining an ``__init__`` method in a metaclass continues to fail with
|
||||
``TypeError`` if keyword arguments are given::
|
||||
|
||||
class MyMeta(type):
|
||||
def __init__(self, name, bases, namespace, otherarg):
|
||||
|
|
Loading…
Reference in New Issue