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

Skip to content

Commit b8c20a7

Browse files
committed
More updates describing FutureWarnings.
1 parent 2f238c1 commit b8c20a7

3 files changed

Lines changed: 13 additions & 1 deletion

File tree

Doc/doc/doc.tex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff 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

Doc/lib/libexcs.tex

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ \section{Built-in Exceptions}
362362
\setindexsubitem{(built-in warning)}
363363

364364
The 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}
368368
Base class for warning categories.
@@ -388,6 +388,11 @@ \section{Built-in Exceptions}
388388
Base 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+
391396
The 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}

Doc/lib/libwarnings.tex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@ \subsection{Warning Categories \label{warning-categories}}
6868
\lineii{RuntimeWarning}{Base category for warnings about dubious
6969
runtime features.}
7070

71+
\lineii{FutureWarning}{Base category for warnings about constructs
72+
that will change semantically in the future.}
73+
7174
\end{tableii}
7275

7376
While these are technically built-in exceptions, they are documented

0 commit comments

Comments
 (0)