Skip to content

Commit c3e5b8b

Browse files
committed
Move ParamSpec import into if TYPE_CHECKING
1 parent 52fdbb1 commit c3e5b8b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

discord/commands/commands.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
import types
3333
from collections import OrderedDict
3434
from typing import Any, Callable, Dict, Generic, List, Optional, Type, TypeVar, Union, TYPE_CHECKING
35-
from typing_extensions import ParamSpec
3635

3736
from .context import ApplicationContext, AutocompleteContext
3837
from .errors import ApplicationCommandError, CheckFailure, ApplicationCommandInvokeError
@@ -63,6 +62,8 @@
6362
)
6463

6564
if TYPE_CHECKING:
65+
from typing_extensions import ParamSpec
66+
6667
from ..cog import Cog
6768
from ..interactions import Interaction
6869

0 commit comments

Comments
 (0)