mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-09 03:01:25 +08:00
complete Python 3 gzip stub (#1723)
* complete python 3 gzip stub * IOBase.closed is read-only
This commit is contained in:
committed by
Matthias Kramm
parent
a1238294d7
commit
eaf8972e48
@@ -49,7 +49,8 @@ class IOBase:
|
||||
else:
|
||||
def readline(self, limit: int = ...) -> bytes: ...
|
||||
if sys.version_info >= (3, 2):
|
||||
closed = ... # type: bool
|
||||
@property
|
||||
def closed(self) -> bool: ...
|
||||
else:
|
||||
def closed(self) -> bool: ...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user