summaryrefslogtreecommitdiff
path: root/Include/internal/pycore_pyerrors.h
diff options
context:
space:
mode:
authorIrit Katriel <1055913+iritkatriel@users.noreply.github.com>2023-04-11 11:53:06 +0100
committerGitHub <noreply@github.com>2023-04-11 11:53:06 +0100
commit55c99d97e14618dfce41472dd4446f763b0da13f (patch)
tree457a036aa57a59204105937c6cba43f3ce6ba288 /Include/internal/pycore_pyerrors.h
parente071f00aaefae9eccf787d5c50396c26c8616483 (diff)
downloadcpython-git-55c99d97e14618dfce41472dd4446f763b0da13f.tar.gz
gh-77757: replace exception wrapping by PEP-678 notes in typeobject's __set_name__ (#103402)
Diffstat (limited to 'Include/internal/pycore_pyerrors.h')
-rw-r--r--Include/internal/pycore_pyerrors.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Include/internal/pycore_pyerrors.h b/Include/internal/pycore_pyerrors.h
index 1bb4a9aa10..4620a26964 100644
--- a/Include/internal/pycore_pyerrors.h
+++ b/Include/internal/pycore_pyerrors.h
@@ -109,6 +109,8 @@ extern PyObject* _Py_Offer_Suggestions(PyObject* exception);
PyAPI_FUNC(Py_ssize_t) _Py_UTF8_Edit_Cost(PyObject *str_a, PyObject *str_b,
Py_ssize_t max_cost);
+void _PyErr_FormatNote(const char *format, ...);
+
#ifdef __cplusplus
}
#endif