10000 gh-101469: Optimise get_io_state() by using _PyModule_GetState() by erlend-aasland · Pull Request #101470 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-101469: Optimise get_io_state() by using _PyModule_GetState() #101470

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 31, 2023
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
Insert include in alphabetical order
  • Loading branch information
erlend-aasland committed Jan 31, 2023
commit 38e17686fdf73884d194601dd8026f9b721aace3
2 changes: 1 addition & 1 deletion Modules/_io/_iomodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
#define PY_SSIZE_T_CLEAN
#include "Python.h"
#include "_iomodule.h"
#include "pycore_pystate.h" // _PyInterpreterState_GET()
#include "pycore_moduleobject.h" // _PyModule_GetState()
#include "pycore_pystate.h" // _PyInterpreterState_GET()

#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
Expand Down
0