File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
@tests/stubtest_allowlists Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,6 @@ multiprocessing.managers._BaseDictProxy.__reversed__
1212multiprocessing.managers._BaseDictProxy.__ror__
1313multiprocessing.managers._BaseDictProxy.fromkeys
1414multiprocessing.process.BaseProcess.interrupt
15- multiprocessing.synchronize.SemLock.locked
1615
1716
1817# =========================
Original file line number Diff line number Diff line change 1+ import sys
12import threading
23from collections .abc import Callable
34from multiprocessing .context import BaseContext
@@ -45,6 +46,8 @@ class SemLock:
4546 # These methods are copied from the wrapped _multiprocessing.SemLock object
4647 def acquire (self , block : bool = True , timeout : float | None = None ) -> bool : ...
4748 def release (self ) -> None : ...
49+ if sys .version_info >= (3 , 14 ):
50+ def locked (self ) -> bool : ...
4851
4952class Lock (SemLock ):
5053 def __init__ (self , * , ctx : BaseContext ) -> None : ...
You can’t perform that action at this time.
0 commit comments