Skip to content

Commit 9246001

Browse files
committed
use _pyio.FileIO as FileIO
1 parent 17ba95e commit 9246001

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

graalpython/lib-graalpython/__builtins_patches__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ def open(*args, **kwargs):
6868
setattr(module, 'StringIO', _pyio.StringIO)
6969
setattr(module, '_IOBase', _pyio.IOBase)
7070
setattr(module, 'RawIOBase', _pyio.RawIOBase)
71+
setattr(module, 'FileIO', _pyio.FileIO)
7172
setattr(module, 'BytesIO', _pyio.BytesIO)
7273
setattr(module, '_TextIOBase', _pyio.TextIOBase)
7374

0 commit comments

Comments
 (0)