mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
Use variable annotations everywhere (#2909)
This commit is contained in:
committed by
Sebastian Rittau
parent
b3c76aab49
commit
efb67946f8
@@ -2,24 +2,24 @@ from typing import Any, IO, Text
|
||||
import io
|
||||
|
||||
class GzipFile(io.BufferedIOBase):
|
||||
myfileobj = ... # type: Any
|
||||
max_read_chunk = ... # type: Any
|
||||
mode = ... # type: Any
|
||||
extrabuf = ... # type: Any
|
||||
extrasize = ... # type: Any
|
||||
extrastart = ... # type: Any
|
||||
name = ... # type: Any
|
||||
min_readsize = ... # type: Any
|
||||
compress = ... # type: Any
|
||||
fileobj = ... # type: Any
|
||||
offset = ... # type: Any
|
||||
mtime = ... # type: Any
|
||||
myfileobj: Any
|
||||
max_read_chunk: Any
|
||||
mode: Any
|
||||
extrabuf: Any
|
||||
extrasize: Any
|
||||
extrastart: Any
|
||||
name: Any
|
||||
min_readsize: Any
|
||||
compress: Any
|
||||
fileobj: Any
|
||||
offset: Any
|
||||
mtime: Any
|
||||
def __init__(self, filename: str = ..., mode: Text = ..., compresslevel: int = ...,
|
||||
fileobj: IO[str] = ..., mtime: float = ...) -> None: ...
|
||||
@property
|
||||
def filename(self): ...
|
||||
size = ... # type: Any
|
||||
crc = ... # type: Any
|
||||
size: Any
|
||||
crc: Any
|
||||
def write(self, data): ...
|
||||
def read(self, size=...): ...
|
||||
@property
|
||||
|
||||
Reference in New Issue
Block a user