plock is not available on linux (#12161)

This commit is contained in:
Sebastian Rittau
2024-06-18 15:41:55 +02:00
committed by GitHub
parent 7df401e5e7
commit c303b3221e
2 changed files with 2 additions and 3 deletions

View File

@@ -5,7 +5,6 @@
_socket.*
_posixsubprocess.cloexec_pipe
curses.has_key
os.plock
selectors.KqueueSelector
socket.[A-Z0-9_]+

View File

@@ -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: ...