Mercurial > cpython-lru_cache-weakref
diff Include/pyerrors.h @ 24818:31d2860089e6 legacy-trunk
Added a FutureWarning for constructs that will change semantically in
the future. Changed PEP 237 hex constant warnings from
DeprecationWarning to FutureWarning. Updated the documentation.
| author | Barry Warsaw <barry@python.org> |
|---|---|
| date | Wed, 14 Aug 2002 15:51:29 +0000 |
| parents | c1eb668525e1 |
| children | 0337dad8403e |
line wrap: on
line diff
--- a/Include/pyerrors.h Wed Aug 14 15:46:02 2002 +0000 +++ b/Include/pyerrors.h Wed Aug 14 15:51:29 2002 +0000 @@ -70,6 +70,7 @@ PyAPI_DATA(PyObject *) PyExc_SyntaxWarning; PyAPI_DATA(PyObject *) PyExc_OverflowWarning; PyAPI_DATA(PyObject *) PyExc_RuntimeWarning; +PyAPI_DATA(PyObject *) PyExc_FutureWarning; /* Convenience functions */
