summaryrefslogtreecommitdiff
path: root/Include/cpython/pyerrors.h
diff options
context:
space:
mode:
authorIrit Katriel <1055913+iritkatriel@users.noreply.github.com>2022-04-16 19:59:52 +0100
committerGitHub <noreply@github.com>2022-04-16 19:59:52 +0100
commitd4c4a76ed1427c947fcbbe692625b3f644cf3aaf (patch)
tree2e503da40ff6459711ff5730b22e89962b175252 /Include/cpython/pyerrors.h
parent7fa3a5a2197896066e3fe53ee325ac6ab54c3414 (diff)
downloadcpython-git-d4c4a76ed1427c947fcbbe692625b3f644cf3aaf.tar.gz
gh-89770: Implement PEP-678 - Exception notes (GH-31317)
Diffstat (limited to 'Include/cpython/pyerrors.h')
-rw-r--r--Include/cpython/pyerrors.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/cpython/pyerrors.h b/Include/cpython/pyerrors.h
index 08630cce8a..47d80e3242 100644
--- a/Include/cpython/pyerrors.h
+++ b/Include/cpython/pyerrors.h
@@ -6,7 +6,7 @@
/* PyException_HEAD defines the initial segment of every exception class. */
#define PyException_HEAD PyObject_HEAD PyObject *dict;\
- PyObject *args; PyObject *note; PyObject *traceback;\
+ PyObject *args; PyObject *notes; PyObject *traceback;\
PyObject *context; PyObject *cause;\
char suppress_context;