mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-22 20:01:29 +08:00
Make io._IOBase and its descendents concrete. (#1172)
This solves the issue with instantiating gzip.GzipFile() mentioned at https://github.com/python/typeshed/pull/1160#issuecomment-294534004
This commit is contained in:
@@ -101,4 +101,4 @@ class TextIOWrapper(TextIO):
|
||||
def __enter__(self) -> StringIO: ...
|
||||
def __exit__(self, type, value, traceback) -> bool: ...
|
||||
|
||||
class BufferedIOBase(IOBase): ...
|
||||
class BufferedIOBase(_io._BufferedIOBase, IOBase): ...
|
||||
|
||||
Reference in New Issue
Block a user