File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1306,6 +1306,9 @@ \section{\module{bar.foo} ---
13061306 features.}
13071307 \lineii{RuntimeWarning}
13081308 {Base category for warnings about dubious runtime features.}
1309+ \lineii{FutureWarning}
1310+ {Base category for warnings about constructs that will change
1311+ semantically in the future.}
13091312\end{tableii}
13101313\end {verbatim }
13111314
Original file line number Diff line number Diff line change @@ -362,7 +362,7 @@ \section{Built-in Exceptions}
362362\setindexsubitem {(built-in warning)}
363363
364364The following exceptions are used as warning categories; see the
365- \module {warnings} module for more information.
365+ \refmodule {warnings} module for more information.
366366
367367\begin {excdesc }{Warning}
368368Base class for warning categories.
@@ -388,6 +388,11 @@ \section{Built-in Exceptions}
388388Base class for warnings about dubious runtime behavior.
389389\end {excdesc }
390390
391+ \begin {excdesc }{FutureWarning}
392+ Base class for warnings about constructs that will change semantically
393+ in the future.
394+ \end {excdesc }
395+
391396The class hierarchy for built-in exceptions is:
392397
393398\begin {verbatim }
@@ -431,4 +436,5 @@ \section{Built-in Exceptions}
431436 +-- SyntaxWarning
432437 +-- OverflowWarning
433438 +-- RuntimeWarning
439+ +-- FutureWarning
434440\end {verbatim }
Original file line number Diff line number Diff line change @@ -68,6 +68,9 @@ \subsection{Warning Categories \label{warning-categories}}
6868\lineii {RuntimeWarning}{Base category for warnings about dubious
6969runtime features.}
7070
71+ \lineii {FutureWarning}{Base category for warnings about constructs
72+ that will change semantically in the future.}
73+
7174\end {tableii }
7275
7376While these are technically built-in exceptions, they are documented
You can’t perform that action at this time.
0 commit comments