Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
stream
1 parent d24bed5 commit 495286fCopy full SHA for 495286f
1 file changed
Lib/importlib/resources/simple.py
@@ -88,7 +88,7 @@ def is_dir(self):
88
def open(self, mode='r', *args, **kwargs):
89
stream = self.parent.reader.open_binary(self.name)
90
if 'b' not in mode:
91
- stream = io.TextIOWrapper(*args, **kwargs)
+ stream = io.TextIOWrapper(stream, *args, **kwargs)
92
return stream
93
94
def joinpath(self, name):
0 commit comments