Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fixup clinic_state for module level functions
  • Loading branch information
erlend-aasland committed Feb 16, 2023
commit b3db018395ae466fcf81421f0652133976b2590c
2 changes: 1 addition & 1 deletion Modules/_io/_iomodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,7 @@ iomodule_free(PyObject *mod) {
* Module definition
*/

#define clinic_state() (IO_STATE())
#define clinic_state() (get_io_state(module))
#include "clinic/_iomodule.c.h"
#undef clinic_state

Expand Down