Update a bunch of stubs

This commit is contained in:
Ben Longbons
2015-10-16 13:11:27 -07:00
parent e4a7edb949
commit 56fe787c74
34 changed files with 483 additions and 277 deletions

View File

@@ -200,7 +200,7 @@ class IO(Iterable[AnyStr], Generic[AnyStr]):
@abstractmethod
def tell(self) -> int: ...
@abstractmethod
def truncate(self, size: int = ...) -> int: ...
def truncate(self, size: int = ...) -> Optional[int]: ...
@abstractmethod
def writable(self) -> bool: ...
# TODO buffer objects