mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-01 00:53:23 +08:00
Update a bunch of stubs
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user