Skip to content

Commit aebcc98

Browse files
Update Modules/_io/textio.c
Co-authored-by: Peter Bierma <[email protected]>
1 parent 84e8537 commit aebcc98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/_io/textio.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3217,7 +3217,7 @@ textiowrapper_iternext(PyObject *op)
32173217
{
32183218
PyObject *result;
32193219
Py_BEGIN_CRITICAL_SECTION(op);
3220-
result = textiowrapper_iternext_locked(op);
3220+
result = textiowrapper_iternext_lock_held(op);
32213221
Py_END_CRITICAL_SECTION();
32223222
return result;
32233223
}

0 commit comments

Comments
 (0)