summaryrefslogtreecommitdiffstats
path: root/Include/cpython
diff options
context:
space:
mode:
authorIrit Katriel <1055913+iritkatriel@users.noreply.github.com>2021-12-03 22:01:15 (GMT)
committerGitHub <noreply@github.com>2021-12-03 22:01:15 (GMT)
commit5bb7ef2768be5979b306e4c7552862b1746c251d (patch)
tree2c5d4d96a1e5bba8d0d918cc413d882f10308e63 /Include/cpython
parentd9301703fb1086cafbd730c17e3d450a192485d6 (diff)
downloadcpython-5bb7ef2768be5979b306e4c7552862b1746c251d.zip
cpython-5bb7ef2768be5979b306e4c7552862b1746c251d.tar.gz
cpython-5bb7ef2768be5979b306e4c7552862b1746c251d.tar.bz2
bpo-45607: Make it possible to enrich exception displays via setting their __note__ field (GH-29880)
Diffstat (limited to 'Include/cpython')
-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 a07018a..5281fde 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 *traceback;\
+ PyObject *args; PyObject *note; PyObject *traceback;\
PyObject *context; PyObject *cause;\
char suppress_context;