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
Update Modules/itertoolsmodule.c
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
  • Loading branch information
erlend-aasland and kumaraditya303 authored Jan 31, 2023
commit 7aea9f629b7094503e517b1611b5e9ef3b4b3e85
2 changes: 1 addition & 1 deletion Modules/itertoolsmodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ typedef struct {
static inline itertools_state *
get_module_state(PyObject *mod)
{
void *state = PyModule_GetState(mod);
void *state = _PyModule_GetState(mod);
assert(state != NULL);
return (itertools_state *)state;
}
Expand Down