Document PyExc_FutureWarning

This commit is contained in:
Barry Warsaw 2002-08-14 16:06:28 +00:00
parent 9f00739551
commit 29ce2d7d1e
1 changed files with 4 additions and 4 deletions

View File

@ -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