From d68f5171ebb2f3404548c846523e9e43308a4130 Mon Sep 17 00:00:00 2001 From: Neal Norwitz Date: Wed, 29 May 2002 15:54:55 +0000 Subject: As discussed on python-dev, add a mechanism to indicate features that are in the process of deprecation (PendingDeprecationWarning). Docs could be improved. --- Include/pyerrors.h | 1 + 1 file changed, 1 insertion(+) (limited to 'Include') diff --git a/Include/pyerrors.h b/Include/pyerrors.h index e2e2629181..fa5634a31f 100644 --- a/Include/pyerrors.h +++ b/Include/pyerrors.h @@ -66,6 +66,7 @@ extern DL_IMPORT(PyObject *) PyExc_MemoryErrorInst; extern DL_IMPORT(PyObject *) PyExc_Warning; extern DL_IMPORT(PyObject *) PyExc_UserWarning; extern DL_IMPORT(PyObject *) PyExc_DeprecationWarning; +extern DL_IMPORT(PyObject *) PyExc_PendingDeprecationWarning; extern DL_IMPORT(PyObject *) PyExc_SyntaxWarning; extern DL_IMPORT(PyObject *) PyExc_OverflowWarning; extern DL_IMPORT(PyObject *) PyExc_RuntimeWarning; -- cgit v1.2.1