aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--discord/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/utils.py b/discord/utils.py
index 80aa4b89..6070882f 100644
--- a/discord/utils.py
+++ b/discord/utils.py
@@ -896,7 +896,7 @@ def evaluate_annotation(
is_literal = False
args = tp.__args__
if not hasattr(tp, '__origin__'):
- if PY_310 and tp.__class__ is types.Union:
+ if PY_310 and tp.__class__ is types.Union: # type: ignore
converted = Union[args] # type: ignore
return evaluate_annotation(converted, globals, locals, cache)