fix self type for stdlib/2 (#645)

This commit is contained in:
Elazar Gershuni
2016-10-30 23:51:52 +02:00
committed by Guido van Rossum
parent 252a772b67
commit 59f86e1b6a
8 changed files with 12 additions and 12 deletions

View File

@@ -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: ...