More updates describing FutureWarnings.

This commit is contained in:
Barry Warsaw 2002-08-14 16:40:54 +00:00
parent 2f238c1b22
commit b8c20a723f
3 changed files with 13 additions and 1 deletions

View file

@ -1306,6 +1306,9 @@ This \UNIX\ is also followed by a space.
features.} features.}
\lineii{RuntimeWarning} \lineii{RuntimeWarning}
{Base category for warnings about dubious runtime features.} {Base category for warnings about dubious runtime features.}
\lineii{FutureWarning}
{Base category for warnings about constructs that will change
semantically in the future.}
\end{tableii} \end{tableii}
\end{verbatim} \end{verbatim}

View file

@ -362,7 +362,7 @@ Raised when an \keyword{assert} statement fails.
\setindexsubitem{(built-in warning)} \setindexsubitem{(built-in warning)}
The following exceptions are used as warning categories; see the The following exceptions are used as warning categories; see the
\module{warnings} module for more information. \refmodule{warnings} module for more information.
\begin{excdesc}{Warning} \begin{excdesc}{Warning}
Base class for warning categories. Base class for warning categories.
@ -388,6 +388,11 @@ Base class for warnings about dubious syntax
Base class for warnings about dubious runtime behavior. Base class for warnings about dubious runtime behavior.
\end{excdesc} \end{excdesc}
\begin{excdesc}{FutureWarning}
Base class for warnings about constructs that will change semantically
in the future.
\end{excdesc}
The class hierarchy for built-in exceptions is: The class hierarchy for built-in exceptions is:
\begin{verbatim} \begin{verbatim}
@ -431,4 +436,5 @@ The class hierarchy for built-in exceptions is:
+-- SyntaxWarning +-- SyntaxWarning
+-- OverflowWarning +-- OverflowWarning
+-- RuntimeWarning +-- RuntimeWarning
+-- FutureWarning
\end{verbatim} \end{verbatim}

View file

@ -68,6 +68,9 @@ syntactic features.}
\lineii{RuntimeWarning}{Base category for warnings about dubious \lineii{RuntimeWarning}{Base category for warnings about dubious
runtime features.} runtime features.}
\lineii{FutureWarning}{Base category for warnings about constructs
that will change semantically in the future.}
\end{tableii} \end{tableii}
While these are technically built-in exceptions, they are documented While these are technically built-in exceptions, they are documented