Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ setup_requires =
pytest-runner
install_requires =
makefun>=1.5.0
typing-extensions>=4.2;python_version>'3.6' and python_version<'3.10'
typing-extensions>=4.2
# note: do not use double quotes in these, this triggers a weird bug in PyCharm in debug mode only
funcsigs;python_version<'3.3'
enum34;python_version<'3.4'
Expand Down
7 changes: 1 addition & 6 deletions src/decopatch/main.pyi
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
from typing import Any, Callable, Optional, Protocol, TypeVar, overload

try:
# We're importing typing_extensions version first, becouse it will
# detect best available implementation depending on python version.
from typing_extensions import ParamSpec
except ImportError:
from typing import ParamSpec
from typing_extensions import ParamSpec

from decopatch.utils_disambiguation import FirstArgDisambiguation
from decopatch.utils_modes import SignatureInfo
Expand Down