mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-30 06:35:22 +08:00
fix self type for stdlib/2 (#645)
This commit is contained in:
committed by
Guido van Rossum
parent
252a772b67
commit
59f86e1b6a
@@ -94,7 +94,7 @@ class epoll(object):
|
||||
def fileno(self) -> int: ...
|
||||
def register(self, fd: int, eventmask: int = ...) -> None: ...
|
||||
def modify(self, fd: int, eventmask: int) -> None: ...
|
||||
def unregister(fd: int) -> None: ...
|
||||
def poll(timeout: float = ..., maxevents: int = ...) -> Any: ...
|
||||
def unregister(self, fd: int) -> None: ...
|
||||
def poll(self, timeout: float = ..., maxevents: int = ...) -> Any: ...
|
||||
@classmethod
|
||||
def fromfd(self, fd: int) -> epoll: ...
|
||||
def fromfd(cls, fd: int) -> epoll: ...
|
||||
|
||||
Reference in New Issue
Block a user