summaryrefslogtreecommitdiffstats
path: root/Objects
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 /Objects
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 'Objects')
-rw-r--r--Objects/descrobject.c2
-rw-r--r--Objects/object.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/Objects/descrobject.c b/Objects/descrobject.c
index 810bd19..74aa70b 100644
--- a/Objects/descrobject.c
+++ b/Objects/descrobject.c
@@ -4,11 +4,11 @@
#include "pycore_abstract.h" // _PyObject_RealIsSubclass()
#include "pycore_call.h" // _PyStack_AsDict()
#include "pycore_ceval.h" // _Py_EnterRecursiveCallTstate()
+#include "pycore_descrobject.h" // _PyMethodWrapper_Type
#include "pycore_object.h" // _PyObject_GC_UNTRACK()
#include "pycore_pystate.h" // _PyThreadState_GET()
#include "pycore_tuple.h" // _PyTuple_ITEMS()
#include "structmember.h" // PyMemberDef
-#include "pycore_descrobject.h"
/*[clinic input]
class mappingproxy "mappingproxyobject *" "&PyDictProxy_Type"
diff --git a/Objects/object.c b/Objects/object.c
index 93396bf..740d4a2 100644
--- a/Objects/object.c
+++ b/Objects/object.c
@@ -5,6 +5,7 @@
#include "pycore_call.h" // _PyObject_CallNoArgs()
#include "pycore_ceval.h" // _Py_EnterRecursiveCallTstate()
#include "pycore_context.h" // _PyContextTokenMissing_Type
+#include "pycore_descrobject.h" // _PyMethodWrapper_Type
#include "pycore_dict.h" // _PyObject_MakeDictFromInstanceAttributes()
#include "pycore_floatobject.h" // _PyFloat_DebugMallocStats()
#include "pycore_initconfig.h" // _PyStatus_EXCEPTION()