From: Barry Warsaw Date: Wed, 14 Aug 2002 16:06:28 +0000 (+0000) Subject: Document PyExc_FutureWarning X-Git-Tag: v2.3c1~4474 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=29ce2d7d1e6e5ead830087fa8781a1e2384e1d29;p=python Document PyExc_FutureWarning --- diff --git a/Doc/api/exceptions.tex b/Doc/api/exceptions.tex index f4e4ef0288..80f1353f6d 100644 --- a/Doc/api/exceptions.tex +++ b/Doc/api/exceptions.tex @@ -265,10 +265,10 @@ for each thread. names are \samp{PyExc_} followed by the Python exception name. These have the type \ctype{PyObject*}; they are all class objects. Their names are \cdata{PyExc_Warning}, \cdata{PyExc_UserWarning}, - \cdata{PyExc_DeprecationWarning}, \cdata{PyExc_SyntaxWarning}, and - \cdata{PyExc_RuntimeWarning}. \cdata{PyExc_Warning} is a subclass - of \cdata{PyExc_Exception}; the other warning categories are - subclasses of \cdata{PyExc_Warning}. + \cdata{PyExc_DeprecationWarning}, \cdata{PyExc_SyntaxWarning}, + \cdata{PyExc_RuntimeWarning}, and \cdata{PyExc_FutureWarning}. + \cdata{PyExc_Warning} is a subclass of \cdata{PyExc_Exception}; the + other warning categories are subclasses of \cdata{PyExc_Warning}. For information about warning control, see the documentation for the \module{warnings} module and the \programopt{-W} option in the