Skip to content

Commit

Permalink
Reword error message
Browse files Browse the repository at this point in the history
  • Loading branch information
jkimbo committed Jun 27, 2020
1 parent 847af75 commit fcdcae1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion graphene/types/base.py
Expand Up @@ -38,7 +38,7 @@ def create_type(cls, class_name, **options):
def __init_subclass_with_meta__(
cls, name=None, description=None, _meta=None, **_kwargs
):
assert "_meta" not in cls.__dict__, "Can't assign directly meta"
assert "_meta" not in cls.__dict__, "Can't assign meta directly"
if not _meta:
return
_meta.name = name or cls.__name__
Expand Down

0 comments on commit fcdcae1

Please sign in to comment.