A new shade of Black (#11362)

This commit is contained in:
Alex Waygood
2024-02-05 00:38:55 +00:00
committed by GitHub
parent 7a6a749449
commit c49c84f319
76 changed files with 190 additions and 106 deletions

View File

@@ -52,6 +52,7 @@ if sys.platform != "linux" and sys.platform != "win32":
data: Any = ...,
udata: Any = ...,
) -> None: ...
# BSD only
@final
class kqueue:
@@ -64,6 +65,7 @@ if sys.platform != "linux" and sys.platform != "win32":
def fileno(self) -> int: ...
@classmethod
def fromfd(cls, __fd: FileDescriptorLike) -> kqueue: ...
KQ_EV_ADD: int
KQ_EV_CLEAR: int
KQ_EV_DELETE: int
@@ -123,6 +125,7 @@ if sys.platform == "linux":
def poll(self, timeout: float | None = None, maxevents: int = -1) -> list[tuple[int, int]]: ...
@classmethod
def fromfd(cls, __fd: FileDescriptorLike) -> epoll: ...
EPOLLERR: int
EPOLLEXCLUSIVE: int
EPOLLET: int