Skip to content

Commit e2aa79a

Browse files
committed
comment
1 parent bbb66e7 commit e2aa79a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎Modules/_io/bufferedio.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2324,6 +2324,7 @@ static int
23242324
bufferedrwpair_clear(PyObject *op)
23252325
{
23262326
rwpair *self = rwpair_CAST(op);
2327+
/* Let the writer flush before the reader closes a shared raw stream. */
23272328
Py_CLEAR(self->writer);
23282329
Py_CLEAR(self->reader);
23292330
Py_CLEAR(self->dict);

0 commit comments

Comments
 (0)