summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2023-07-22 20:57:59 (GMT)
committerGitHub <noreply@github.com>2023-07-22 20:57:59 (GMT)
commitee15844db88fab3a282d14325662bcfd026272ac (patch)
tree81d4609c7f896dada0fe2c238eaad1ac931696d4 /Python
parent5e5a34ac3a827e040cd89426b1774fec2123336a (diff)
downloadcpython-ee15844db88fab3a282d14325662bcfd026272ac.zip
cpython-ee15844db88fab3a282d14325662bcfd026272ac.tar.gz
cpython-ee15844db88fab3a282d14325662bcfd026272ac.tar.bz2
gh-106320: Move _PyMethodWrapper_Type to internal C API (#107064)
Diffstat (limited to 'Python')
-rw-r--r--Python/specialize.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/specialize.c b/Python/specialize.c
index dcf4be7..5892f54 100644
--- a/Python/specialize.c
+++ b/Python/specialize.c
@@ -1,5 +1,6 @@
#include "Python.h"
#include "pycore_code.h"
+#include "pycore_descrobject.h" // _PyMethodWrapper_Type
#include "pycore_dict.h"
#include "pycore_function.h" // _PyFunction_GetVersionForCurrentState()
#include "pycore_global_strings.h" // _Py_ID()
@@ -7,9 +8,8 @@
#include "pycore_moduleobject.h"
#include "pycore_object.h"
#include "pycore_opcode.h" // _PyOpcode_Caches
-#include "structmember.h" // struct PyMemberDef, T_OFFSET_EX
-#include "pycore_descrobject.h"
#include "pycore_pylifecycle.h" // _PyOS_URandomNonblock()
+#include "structmember.h" // struct PyMemberDef, T_OFFSET_EX
#include <stdlib.h> // rand()