mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 21:14:48 +08:00
Upgrade black version (#7089)
This commit is contained in:
@@ -404,6 +404,7 @@ class socket:
|
||||
def gettimeout(self) -> float | None: ...
|
||||
if sys.platform == "win32":
|
||||
def ioctl(self, control: int, option: int | tuple[int, int, int]) -> None: ...
|
||||
|
||||
def listen(self, __backlog: int) -> None: ...
|
||||
# Note that the makefile's documented windows-specific behavior is not represented
|
||||
def makefile(self, mode: unicode = ..., buffering: int = ...) -> BinaryIO: ...
|
||||
@@ -422,6 +423,7 @@ class socket:
|
||||
def setsockopt(self, level: int, optname: int, value: int | bytes) -> None: ...
|
||||
if sys.platform == "win32":
|
||||
def share(self, process_id: int) -> bytes: ...
|
||||
|
||||
def shutdown(self, how: int) -> None: ...
|
||||
|
||||
# ----- Functions -----
|
||||
|
||||
Reference in New Issue
Block a user