mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-15 16:27:08 +08:00
Remove Python 3.7 branches (#11238)
This commit is contained in:
@@ -32,13 +32,9 @@ register = ForkingPickler.register
|
||||
def dump(obj: Any, file: SupportsWrite[bytes], protocol: int | None = None) -> None: ...
|
||||
|
||||
if sys.platform == "win32":
|
||||
if sys.version_info >= (3, 8):
|
||||
def duplicate(
|
||||
handle: int, target_process: int | None = None, inheritable: bool = False, *, source_process: int | None = None
|
||||
) -> int: ...
|
||||
else:
|
||||
def duplicate(handle: int, target_process: int | None = None, inheritable: bool = False) -> int: ...
|
||||
|
||||
def duplicate(
|
||||
handle: int, target_process: int | None = None, inheritable: bool = False, *, source_process: int | None = None
|
||||
) -> int: ...
|
||||
def steal_handle(source_pid: int, handle: int) -> int: ...
|
||||
def send_handle(conn: connection.PipeConnection, handle: int, destination_pid: int) -> None: ...
|
||||
def recv_handle(conn: connection.PipeConnection) -> int: ...
|
||||
|
||||
Reference in New Issue
Block a user