Skip to content

Commit b3db018

Browse files
Fixup clinic_state for module level functions
1 parent 254bfaf commit b3db018

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/_io/_iomodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -607,7 +607,7 @@ iomodule_free(PyObject *mod) {
607607
* Module definition
608608
*/
609609

610-
#define clinic_state() (IO_STATE())
610+
#define clinic_state() (get_io_state(module))
611611
#include "clinic/_iomodule.c.h"
612612
#undef clinic_state
613613

0 commit comments

Comments
 (0)