Skip to content

Commit 703a82b

Browse files
- Removed Concatenate typing
1 parent 3415715 commit 703a82b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/thread/decorators.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,16 @@
88
from .thread import Thread
99

1010
from ._types import Overflow_In, Data_Out, Data_In
11-
from typing import Any, Callable, Mapping, Sequence, Optional, Union, overload
12-
from typing_extensions import ParamSpec, TypeVar, Concatenate
11+
from typing import Callable, Mapping, Sequence, Optional, Union, overload
12+
from typing_extensions import ParamSpec, TypeVar
1313

1414

1515
T = TypeVar('T')
1616
P = ParamSpec('P')
1717
TargetFunction = Callable[P, Data_Out]
1818
NoParamReturn = Callable[P, Thread]
1919
WithParamReturn = Callable[[TargetFunction], NoParamReturn]
20-
FullParamReturn = Callable[Concatenate[TargetFunction, ...], Thread]
20+
FullParamReturn = Callable[P, Thread]
2121
WrappedWithParamReturn = Callable[[TargetFunction], WithParamReturn]
2222

2323

0 commit comments

Comments
 (0)