mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-25 14:07:23 +08:00
Turn TextIOWrapper(buffer) into a protocol (#11420)
This commit is contained in:
1 parent
a3d356c04c
commit
4664986cea
3 files changed
+44
-4
No files matched your search
@@ -0,0 +1,6 @@
|
||||
from gzip import GzipFile
|
||||
from io import FileIO, TextIOWrapper
|
||||
|
||||
TextIOWrapper(FileIO(""))
|
||||
TextIOWrapper(FileIO(13))
|
||||
TextIOWrapper(GzipFile(""))
|
||||
File renamed without changes.
Reference in new issue
Block a user