Skip to content

Commit

Permalink
Remove misleading comment
Browse files Browse the repository at this point in the history
The comment originally referred to the __metaclass__ attribute which is gone now.
  • Loading branch information
Cito committed Mar 4, 2020
1 parent 5e6f689 commit 5d97c84
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion graphene/utils/subclass_with_meta.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ def __repr__(cls):
class SubclassWithMeta(metaclass=SubclassWithMeta_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):
"""This method just terminates the super() chain"""
_Meta = getattr(cls, "Meta", None)
Expand Down

0 comments on commit 5d97c84

Please sign in to comment.