summaryrefslogtreecommitdiffstats
path: root/Modules/_pickle.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2023-07-22 14:12:17 (GMT)
committerGitHub <noreply@github.com>2023-07-22 14:12:17 (GMT)
commiteda9ce148714947c164ff72b720e2645ca2cd5fb (patch)
tree3ee4198757769973cf23212817b373317e59669a /Modules/_pickle.c
parent89f987544860d1360e6232b6f52b8ced92a4d690 (diff)
downloadcpython-eda9ce148714947c164ff72b720e2645ca2cd5fb.zip
cpython-eda9ce148714947c164ff72b720e2645ca2cd5fb.tar.gz
cpython-eda9ce148714947c164ff72b720e2645ca2cd5fb.tar.bz2
gh-106320: Move _PyNone_Type to the internal C API (#107030)
Move private types _PyNone_Type and _PyNotImplemented_Type to internal C API.
Diffstat (limited to 'Modules/_pickle.c')
-rw-r--r--Modules/_pickle.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/_pickle.c b/Modules/_pickle.c
index ea44b49..f2e98c1 100644
--- a/Modules/_pickle.c
+++ b/Modules/_pickle.c
@@ -12,6 +12,7 @@
#include "pycore_bytesobject.h" // _PyBytesWriter
#include "pycore_ceval.h" // _Py_EnterRecursiveCall()
#include "pycore_moduleobject.h" // _PyModule_GetState()
+#include "pycore_object.h" // _PyNone_Type
#include "pycore_pystate.h" // _PyThreadState_GET()
#include "pycore_runtime.h" // _Py_ID()
#include "structmember.h" // PyMemberDef