diff options
author | stephanelsmith <stephane.smith@titansensor.com> | 2023-07-26 02:52:56 +0000 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2023-09-01 17:39:38 +1000 |
commit | db06041d59ef8d5524340c4d2c4490c8e770591f (patch) | |
tree | b7470931bf9df7f4020708f77867a3a09ab393ef /tests/io/file_stdio.py | |
parent | 1c047742a273382241e8cfddb12a1d8b4f7f59ab (diff) |
extmod/vfs_posix_file: Implement sys.std*.buffer objects.
Add the buffer attribute to sys.stdin, sys.stdout and sys.stderr. This
provides raw access to underlying stdio streams for the unix port (and
others that use VfsPosix).
Signed-off-by: stephanelsmith <stephane.smith@titansensor.com>
Diffstat (limited to 'tests/io/file_stdio.py')
-rw-r--r-- | tests/io/file_stdio.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/io/file_stdio.py b/tests/io/file_stdio.py index cbdb07016..d714bffd4 100644 --- a/tests/io/file_stdio.py +++ b/tests/io/file_stdio.py @@ -2,3 +2,4 @@ import sys print(sys.stdin.fileno()) print(sys.stdout.fileno()) +print(sys.stderr.fileno()) |