Fix another typo in PEP 487

This commit is contained in:
Berker Peksag 2016-07-28 04:21:47 +03:00 committed by GitHub
parent 07d557fedf
commit 672f5f41b1
1 changed files with 2 additions and 2 deletions

View File

@ -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):