Skip to content

Commit

Permalink
Fixed comment
Browse files Browse the repository at this point in the history
  • Loading branch information
J-M0 authored and jaraco committed Aug 14, 2021
1 parent e089a8f commit 9bc2e5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion singledispatch/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ def _validate_annotation(func):
try:
# In Python 3.5 and 3.6, the classes in typing are considered instances
# of type, but they aren't valid for registering single dispatch
# functions so we need to check against TypingMeta instead
# functions so we need to check against GenricMeta instead
from typing import GenericMeta
valid = not isinstance(cls, GenericMeta)
except ImportError:
Expand Down

0 comments on commit 9bc2e5b

Please sign in to comment.