Skip to content

Commit

Permalink
fix: fix ellipsis typing in <3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
shiftinv committed Oct 19, 2023
1 parent e9c82da commit cc308b3
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions disnake/ext/commands/params.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,6 @@

if sys.version_info >= (3, 10):
from types import EllipsisType, UnionType
elif TYPE_CHECKING:
UnionType = object()
EllipsisType = ellipsis # noqa: F821
else:
UnionType = object()
EllipsisType = type(Ellipsis)
Expand Down

0 comments on commit cc308b3

Please sign in to comment.