features.}
\lineii{RuntimeWarning}
{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{verbatim}
\setindexsubitem{(built-in warning)}
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}
Base class for warning categories.
Base class for warnings about dubious runtime behavior.
\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:
\begin{verbatim}
+-- SyntaxWarning
+-- OverflowWarning
+-- RuntimeWarning
+ +-- FutureWarning
\end{verbatim}
\lineii{RuntimeWarning}{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}
While these are technically built-in exceptions, they are documented