Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 29ce2d7

Browse files
committed
Document PyExc_FutureWarning
1 parent 9f00739 commit 29ce2d7

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Doc/api/exceptions.tex

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -265,10 +265,10 @@ \chapter{Exception Handling \label{exceptionHandling}}
265265
names are \samp{PyExc_} followed by the Python exception name.
266266
These have the type \ctype{PyObject*}; they are all class objects.
267267
Their names are \cdata{PyExc_Warning}, \cdata{PyExc_UserWarning},
268-
\cdata{PyExc_DeprecationWarning}, \cdata{PyExc_SyntaxWarning}, and
269-
\cdata{PyExc_RuntimeWarning}. \cdata{PyExc_Warning} is a subclass
270-
of \cdata{PyExc_Exception}; the other warning categories are
271-
subclasses of \cdata{PyExc_Warning}.
268+
\cdata{PyExc_DeprecationWarning}, \cdata{PyExc_SyntaxWarning},
269+
\cdata{PyExc_RuntimeWarning}, and \cdata{PyExc_FutureWarning}.
270+
\cdata{PyExc_Warning} is a subclass of \cdata{PyExc_Exception}; the
271+
other warning categories are subclasses of \cdata{PyExc_Warning}.
272272

273273
For information about warning control, see the documentation for the
274274
\module{warnings} module and the \programopt{-W} option in the

0 commit comments

Comments
 (0)