Remove misleading comment

The comment originally referred to the __metaclass__ attribute which is gone now.
This commit is contained in:
Christoph Zwerschke 2020-03-04 12:44:53 +01:00
parent 5e6f68957e
commit 5d97c848e0

View File

@ -19,7 +19,6 @@ class SubclassWithMeta_Meta(InitSubclassMeta):
class SubclassWithMeta(metaclass=SubclassWithMeta_Meta): class SubclassWithMeta(metaclass=SubclassWithMeta_Meta):
"""This class improves __init_subclass__ to receive automatically the options from meta""" """This class improves __init_subclass__ to receive automatically the options from meta"""
# We will only have the metaclass in Python 2
def __init_subclass__(cls, **meta_options): def __init_subclass__(cls, **meta_options):
"""This method just terminates the super() chain""" """This method just terminates the super() chain"""
_Meta = getattr(cls, "Meta", None) _Meta = getattr(cls, "Meta", None)