summaryrefslogtreecommitdiffstats
path: root/Include/genobject.h
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2019-05-19 22:14:57 (GMT)
committerGitHub <noreply@github.com>2019-05-19 22:14:57 (GMT)
commited48866c55b8e4ee14faa8b5ad97819e8e74c98b (patch)
tree94bd31c68f05ee28624c38c2264918e89e4ca30f /Include/genobject.h
parentd673810b9d9df6fbd29f5b7db3973d5adae10fd3 (diff)
downloadcpython-ed48866c55b8e4ee14faa8b5ad97819e8e74c98b.zip
cpython-ed48866c55b8e4ee14faa8b5ad97819e8e74c98b.tar.gz
cpython-ed48866c55b8e4ee14faa8b5ad97819e8e74c98b.tar.bz2
bpo-35134: Split traceback.h header (GH-13430)
Add new Include/cpython/traceback.h and Include/internal/traceback.h header files.
Diffstat (limited to 'Include/genobject.h')
-rw-r--r--Include/genobject.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Include/genobject.h b/Include/genobject.h
index 16b9833..6755963 100644
--- a/Include/genobject.h
+++ b/Include/genobject.h
@@ -8,6 +8,8 @@
extern "C" {
#endif
+#include "pystate.h" /* _PyErr_StackItem */
+
struct _frame; /* Avoid including frameobject.h */
/* _PyGenObject_HEAD defines the initial segment of generator