Solve issue 154: Fix wrong type for size in File. (#156)

This commit is contained in:
Wlises R
2019-09-06 02:16:19 -04:00
committed by Nikita Sobolev
parent b8379d4fe6
commit 0c3e06e875

View File

@@ -14,6 +14,7 @@ class File(FileProxyMixin, IO[Any]):
def __init__(self, file: Any, name: Optional[str] = ...) -> None: ...
def __bool__(self) -> bool: ...
def __len__(self) -> int: ...
@property
def size(self) -> int: ...
def chunks(self, chunk_size: Optional[int] = ...) -> Iterator[bytes]: ...
def multiple_chunks(self, chunk_size: Optional[int] = ...) -> bool: ...