Skip to content

Commit 2c9212a

Browse files
committed
Fix docstring for stdout.buffer
Earlier commit changed stdio docstring/type to StringIO and included stdio_buffer_obj in that. Reviewing history for that object, it is intended to implement (e.g.) stdout.buffer, which is a binary stream. Revert back to FileIO for that docstring/type.
1 parent 7477b2a commit 2c9212a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shared/runtime/sys_stdio_mphal.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ STATIC const mp_stream_p_t stdio_buffer_obj_stream_p = {
154154

155155
STATIC MP_DEFINE_CONST_OBJ_TYPE(
156156
stdio_buffer_obj_type,
157-
MP_QSTR_StringIO,
157+
MP_QSTR_FileIO,
158158
MP_TYPE_FLAG_ITER_IS_STREAM,
159159
print, stdio_obj_print,
160160
protocol, &stdio_buffer_obj_stream_p,

0 commit comments

Comments
 (0)