summaryrefslogtreecommitdiffstats
path: root/Include/pyerrors.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-08-23 02:56:07 (GMT)
committerGuido van Rossum <guido@python.org>2001-08-23 02:56:07 (GMT)
commitae347b33befbbf9068473f373def1620f2bab805 (patch)
treef82182465c6a204ea254d08c0a5efd506a124449 /Include/pyerrors.h
parent7c198d3cde570e0429ae05bf101d61512e7346f2 (diff)
downloadcpython-ae347b33befbbf9068473f373def1620f2bab805.zip
cpython-ae347b33befbbf9068473f373def1620f2bab805.tar.gz
cpython-ae347b33befbbf9068473f373def1620f2bab805.tar.bz2
Introduce OverflowWarning -- to be issued when short int operations
are overflowing and a long int operation is substituted.
Diffstat (limited to 'Include/pyerrors.h')
-rw-r--r--Include/pyerrors.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/pyerrors.h b/Include/pyerrors.h
index 1ee4fe2..d7b7639 100644
--- a/Include/pyerrors.h
+++ b/Include/pyerrors.h
@@ -66,6 +66,7 @@ extern DL_IMPORT(PyObject *) PyExc_Warning;
extern DL_IMPORT(PyObject *) PyExc_UserWarning;
extern DL_IMPORT(PyObject *) PyExc_DeprecationWarning;
extern DL_IMPORT(PyObject *) PyExc_SyntaxWarning;
+extern DL_IMPORT(PyObject *) PyExc_OverflowWarning;
extern DL_IMPORT(PyObject *) PyExc_RuntimeWarning;