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 ae460d4 commit 3694a41Copy full SHA for 3694a41
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