mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-16 08:47:39 +08:00
plock is not available on linux (#12161)
This commit is contained in:
@@ -5,7 +5,6 @@
|
||||
_socket.*
|
||||
_posixsubprocess.cloexec_pipe
|
||||
curses.has_key
|
||||
os.plock
|
||||
selectors.KqueueSelector
|
||||
socket.[A-Z0-9_]+
|
||||
|
||||
|
||||
@@ -914,8 +914,8 @@ if sys.platform != "win32":
|
||||
def forkpty() -> tuple[int, int]: ... # some flavors of Unix
|
||||
def killpg(pgid: int, signal: int, /) -> None: ...
|
||||
def nice(increment: int, /) -> int: ...
|
||||
if sys.platform != "darwin":
|
||||
def plock(op: int, /) -> None: ... # ???op is int?
|
||||
if sys.platform != "darwin" and sys.platform != "linux":
|
||||
def plock(op: int, /) -> None: ...
|
||||
|
||||
class _wrap_close(_TextIOWrapper):
|
||||
def __init__(self, stream: _TextIOWrapper, proc: Popen[str]) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user