File tree Expand file tree Collapse file tree 3 files changed +8
-9
lines changed Expand file tree Collapse file tree 3 files changed +8
-9
lines changed Original file line number Diff line number Diff line change 3
3
4
4
import sys
5
5
from collections import deque
6
- from typing import TYPE_CHECKING , Callable , Deque
7
-
8
- if sys .version_info < (3 , 10 ):
9
- from typing_extensions import ParamSpec
10
- else :
11
- from typing import ParamSpec
6
+ from typing import TYPE_CHECKING
12
7
13
8
if TYPE_CHECKING :
14
9
from types import TracebackType
10
+ from typing import Callable , Deque
11
+ if sys .version_info < (3 , 10 ):
12
+ from typing_extensions import ParamSpec
13
+ else :
14
+ from typing import ParamSpec
15
15
16
+ P = ParamSpec ("P" )
16
17
17
18
__all__ = ('DummyLock' , 'LaxBoundedSemaphore' )
18
19
19
- P = ParamSpec ("P" )
20
-
21
20
22
21
class LaxBoundedSemaphore :
23
22
"""Asynchronous Bounded Semaphore.
Original file line number Diff line number Diff line change 1
- typing_extensions==4.12.2; python_version<"3.10"
2
1
amqp>=5.1.1,<6.0.0
3
2
vine==5.1.0
4
3
backports.zoneinfo[tzdata]>=0.2.1; python_version<"3.9"
Original file line number Diff line number Diff line change @@ -6,3 +6,4 @@ sphinx2rst>=1.0
6
6
bumpversion==0.6.0
7
7
pydocstyle==6.3.0
8
8
mypy==1.14.1
9
+ typing_extensions==4.12.2; python_version<"3.10"
You can’t perform that action at this time.
0 commit comments