mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-26 04:46:46 +08:00
stdlib: Run stubdefaulter on Linux for 3.9 (#9663)
This commit is contained in:
@@ -109,9 +109,9 @@ if sys.platform == "linux":
|
||||
def __enter__(self: Self) -> Self: ...
|
||||
def __exit__(
|
||||
self,
|
||||
__exc_type: type[BaseException] | None = ...,
|
||||
__exc_type: type[BaseException] | None = None,
|
||||
__exc_val: BaseException | None = ...,
|
||||
__exc_tb: TracebackType | None = ...,
|
||||
__exc_tb: TracebackType | None = None,
|
||||
) -> None: ...
|
||||
def close(self) -> None: ...
|
||||
closed: bool
|
||||
@@ -119,7 +119,7 @@ if sys.platform == "linux":
|
||||
def register(self, fd: FileDescriptorLike, eventmask: int = ...) -> None: ...
|
||||
def modify(self, fd: FileDescriptorLike, eventmask: int) -> None: ...
|
||||
def unregister(self, fd: FileDescriptorLike) -> None: ...
|
||||
def poll(self, timeout: float | None = ..., maxevents: int = ...) -> list[tuple[int, int]]: ...
|
||||
def poll(self, timeout: float | None = None, maxevents: int = -1) -> list[tuple[int, int]]: ...
|
||||
@classmethod
|
||||
def fromfd(cls, __fd: FileDescriptorLike) -> epoll: ...
|
||||
EPOLLERR: int
|
||||
|
||||
Reference in New Issue
Block a user