summaryrefslogtreecommitdiff
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2020-02-03 17:28:26 +0100
committerGitHub <noreply@github.com>2020-02-03 17:28:26 +0100
commit4b524161a0f9d50d782e739a3708434ffd4e94a5 (patch)
tree683ed20eaa362961e68c48001731a69130046992 /Python/pythonrun.c
parentc6e5c1123bac6cbb4c85265155af5349dcea522e (diff)
downloadcpython-git-4b524161a0f9d50d782e739a3708434ffd4e94a5.tar.gz
bpo-39542: Move object.h debug functions to internal C API (GH-18331)
Move the following functions from the public C API to the internal C API: * _PyDebug_PrintTotalRefs(), * _Py_PrintReferenceAddresses() * _Py_PrintReferences()
Diffstat (limited to 'Python/pythonrun.c')
-rw-r--r--Python/pythonrun.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/pythonrun.c b/Python/pythonrun.c
index b68a0b5572..f4ded2e24a 100644
--- a/Python/pythonrun.c
+++ b/Python/pythonrun.c
@@ -12,6 +12,7 @@
#include "Python-ast.h"
#undef Yield /* undefine macro conflicting with <winbase.h> */
+#include "pycore_object.h"
#include "pycore_pyerrors.h"
#include "pycore_pylifecycle.h"
#include "pycore_pystate.h"