summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2021-03-17 22:11:03 (GMT)
committerGitHub <noreply@github.com>2021-03-17 22:11:03 (GMT)
commitb4536e1c6abe4c6219177a89e16575d05ea22f64 (patch)
treebade8c2412e0b83d00e737ce465214d2033cf5f3 /Include
parente272528bbd5e0b081dbffa73b1a6908f3992d13c (diff)
downloadcpython-b4536e1c6abe4c6219177a89e16575d05ea22f64.zip
cpython-b4536e1c6abe4c6219177a89e16575d05ea22f64.tar.gz
cpython-b4536e1c6abe4c6219177a89e16575d05ea22f64.tar.bz2
bpo-43244: Rename pycore_ast.h to pycore_ast_state.h (GH-24907)
Diffstat (limited to 'Include')
-rw-r--r--Include/internal/pycore_ast_state.h (renamed from Include/internal/pycore_ast.h)6
-rw-r--r--Include/internal/pycore_interp.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/Include/internal/pycore_ast.h b/Include/internal/pycore_ast_state.h
index 2d0c5fb..c5ae224 100644
--- a/Include/internal/pycore_ast.h
+++ b/Include/internal/pycore_ast_state.h
@@ -1,7 +1,7 @@
// File automatically generated by Parser/asdl_c.py.
-#ifndef Py_INTERNAL_AST_H
-#define Py_INTERNAL_AST_H
+#ifndef Py_INTERNAL_AST_STATE_H
+#define Py_INTERNAL_AST_STATE_H
#ifdef __cplusplus
extern "C" {
#endif
@@ -240,5 +240,5 @@ struct ast_state {
#ifdef __cplusplus
}
#endif
-#endif /* !Py_INTERNAL_AST_H */
+#endif /* !Py_INTERNAL_AST_STATE_H */
diff --git a/Include/internal/pycore_interp.h b/Include/internal/pycore_interp.h
index ea770da..1e4b3ff 100644
--- a/Include/internal/pycore_interp.h
+++ b/Include/internal/pycore_interp.h
@@ -9,7 +9,7 @@ extern "C" {
#endif
#include "pycore_atomic.h" // _Py_atomic_address
-#include "pycore_ast.h" // struct ast_state
+#include "pycore_ast_state.h" // struct ast_state
#include "pycore_gil.h" // struct _gil_runtime_state
#include "pycore_gc.h" // struct _gc_runtime_state
#include "pycore_warnings.h" // struct _warnings_runtime_state