Mercurial > cpython-lru_cache-weakref
diff Doc/api/exceptions.tex @ 24819:4e44fabe0fa0 legacy-trunk
Document PyExc_FutureWarning
| author | Barry Warsaw <barry@python.org> |
|---|---|
| date | Wed, 14 Aug 2002 16:06:28 +0000 |
| parents | 3db261a93a5b |
| children | dc31668a7c09 |
line wrap: on
line diff
--- a/Doc/api/exceptions.tex Wed Aug 14 15:51:29 2002 +0000 +++ b/Doc/api/exceptions.tex Wed Aug 14 16:06:28 2002 +0000 @@ -265,10 +265,10 @@ 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
