mirror of
https://github.com/python/cpython.git
synced 2026-01-06 07:22:09 +00:00
gh-119521: Use PyAPI_DATA, not extern, for _PyExc_IncompleteInputError (GH-120955)
This commit is contained in:
parent
6eb23b1311
commit
ce1064e4c9
1 changed files with 2 additions and 1 deletions
|
|
@ -168,7 +168,8 @@ void _PyErr_FormatNote(const char *format, ...);
|
|||
Py_DEPRECATED(3.12) extern void _PyErr_ChainExceptions(PyObject *, PyObject *, PyObject *);
|
||||
|
||||
// implementation detail for the codeop module.
|
||||
extern PyTypeObject _PyExc_IncompleteInputError;
|
||||
// Exported for test.test_peg_generator.test_c_parser
|
||||
PyAPI_DATA(PyTypeObject) _PyExc_IncompleteInputError;
|
||||
#define PyExc_IncompleteInputError ((PyObject *)(&_PyExc_IncompleteInputError))
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue