summaryrefslogtreecommitdiffstats
path: root/Modules/faulthandler.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2022-06-20 13:47:41 (GMT)
committerGitHub <noreply@github.com>2022-06-20 13:47:41 (GMT)
commit96254a9acd0d9dbb49b7d54fd529223b2253245b (patch)
treeea7c9ead2243769c832a4d0b9c77b5c1155a54e4 /Modules/faulthandler.c
parent81686e701cda58fc155f9bbd2fe07c523185914b (diff)
downloadcpython-96254a9acd0d9dbb49b7d54fd529223b2253245b.zip
cpython-96254a9acd0d9dbb49b7d54fd529223b2253245b.tar.gz
cpython-96254a9acd0d9dbb49b7d54fd529223b2253245b.tar.bz2
gh-93937, C API: Move PyFrame_GetBack() to Python.h (#93938) (#94000)
Move the follow functions and type from frameobject.h to pyframe.h, so the standard <Python.h> provide frame getter functions: * PyFrame_Check() * PyFrame_GetBack() * PyFrame_GetBuiltins() * PyFrame_GetGenerator() * PyFrame_GetGlobals() * PyFrame_GetLasti() * PyFrame_GetLocals() * PyFrame_Type Remove #include "frameobject.h" from many C files. It's no longer needed. (cherry picked from commit 27b989403356ccdd47545a93aeab8434e9c69f21)
Diffstat (limited to 'Modules/faulthandler.c')
-rw-r--r--Modules/faulthandler.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/Modules/faulthandler.c b/Modules/faulthandler.c
index 08c4083..3026bb6 100644
--- a/Modules/faulthandler.c
+++ b/Modules/faulthandler.c
@@ -5,8 +5,6 @@
#include "pycore_signal.h" // Py_NSIG
#include "pycore_traceback.h" // _Py_DumpTracebackThreads
-#include "frameobject.h"
-
#include <object.h>
#include <signal.h>
#include <signal.h>