Skip to content

Commit

Permalink
Use wider type ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
Enegg committed Jun 30, 2024
1 parent 2347498 commit 7b48672
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion disnake/ext/commands/params.py
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ class _BaseRange(ABC, Generic[NumberT]):
def __class_getitem__(cls, params: Tuple[Any, ...]) -> Self:
if cls is _BaseRange:
# needed since made generic
return super().__class_getitem__(params) # pyright: ignore[reportAttributeAccessIssue]
return super().__class_getitem__(params) # pyright: ignore

# deconstruct type arguments
if not isinstance(params, tuple):
Expand Down

0 comments on commit 7b48672

Please sign in to comment.