summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorIrit Katriel <1055913+iritkatriel@users.noreply.github.com>2023-04-11 10:53:06 (GMT)
committerGitHub <noreply@github.com>2023-04-11 10:53:06 (GMT)
commit55c99d97e14618dfce41472dd4446f763b0da13f (patch)
tree457a036aa57a59204105937c6cba43f3ce6ba288 /Include
parente071f00aaefae9eccf787d5c50396c26c8616483 (diff)
downloadcpython-55c99d97e14618dfce41472dd4446f763b0da13f.zip
cpython-55c99d97e14618dfce41472dd4446f763b0da13f.tar.gz
cpython-55c99d97e14618dfce41472dd4446f763b0da13f.tar.bz2
gh-77757: replace exception wrapping by PEP-678 notes in typeobject's __set_name__ (#103402)
Diffstat (limited to 'Include')
-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 1bb4a9a..4620a26 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