summaryrefslogtreecommitdiffstats
path: root/Parser
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2024-06-24 18:23:30 (GMT)
committerGitHub <noreply@github.com>2024-06-24 18:23:30 (GMT)
commit447e07ab3d569bb4b2209ccfe3889fafa3ad6693 (patch)
tree4922f90e9fedb0b76f7a222815ae10c6699449d6 /Parser
parenta19a5895b5f8211a85366a1518e9d4f5fb3335c5 (diff)
downloadcpython-447e07ab3d569bb4b2209ccfe3889fafa3ad6693.zip
cpython-447e07ab3d569bb4b2209ccfe3889fafa3ad6693.tar.gz
cpython-447e07ab3d569bb4b2209ccfe3889fafa3ad6693.tar.bz2
[3.13] gh-119521: Rename IncompleteInputError to _IncompleteInputError and remove from public API/ABI (GH-119680, GH-120955) (GH-120944)
- gh-119521: Rename IncompleteInputError to _IncompleteInputError and remove from public API/ABI (GH-119680) (cherry picked from commit ce1064e4c9bcfd673323ad690e60f86e1ab907bb) - gh-119521: Use `PyAPI_DATA`, not `extern`, for `_PyExc_IncompleteInputError` (GH-120955) (cherry picked from commit ac61d58db0753a3b37de21dbc6e86b38f2a93f1b) Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com> Co-authored-by: Petr Viktorin <encukou@gmail.com>
Diffstat (limited to 'Parser')
-rw-r--r--Parser/pegen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Parser/pegen.c b/Parser/pegen.c
index 2955eab..009e5ba 100644
--- a/Parser/pegen.c
+++ b/Parser/pegen.c
@@ -1,6 +1,7 @@
#include <Python.h>
#include "pycore_ast.h" // _PyAST_Validate(),
#include "pycore_pystate.h" // _PyThreadState_GET()
+#include "pycore_pyerrors.h" // PyExc_IncompleteInputError
#include <errcode.h>
#include "lexer/lexer.h"