mirror of
https://github.com/graphql-python/graphene.git
synced 2024-11-22 17:46:57 +03:00
Remove misleading comment
The comment originally referred to the __metaclass__ attribute which is gone now.
This commit is contained in:
parent
5e6f68957e
commit
5d97c848e0
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user