Fix type of getsockopt (#213)

This commit is contained in:
David Euresti authored and Guido van Rossum committed 2016-05-18 15:30:24 -07:00
1 parent 9154cd1320
commit 2bb026cd76
3 files changed
+5 -5

No files matched your search

+2 -2
View File
@@ -294,9 +294,9 @@ class socket:
def getsockname(self) -> Any: ...
@overload
def getsockopt(self, level: int, optname: str) -> int: ...
def getsockopt(self, level: int, optname: int) -> int: ...
@overload
def getsockopt(self, level: int, optname: str, buflen: int) -> bytes: ...
def getsockopt(self, level: int, optname: int, buflen: int) -> bytes: ...
def gettimeout(self) -> float: ...
def ioctl(self, control: object,