diff options
author | Barry Warsaw <barry@python.org> | 2002-08-14 16:40:54 (GMT) |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 2002-08-14 16:40:54 (GMT) |
commit | b8c20a723f7f0dd4c78ae4daa7934c43749f04c1 (patch) | |
tree | 7daedaaf04eadcd28329936bfb9475f1866b2aa6 | |
parent | 2f238c1b220c8952a9bea0ef598d53db02c50bc9 (diff) | |
download | cpython-b8c20a723f7f0dd4c78ae4daa7934c43749f04c1.zip cpython-b8c20a723f7f0dd4c78ae4daa7934c43749f04c1.tar.gz cpython-b8c20a723f7f0dd4c78ae4daa7934c43749f04c1.tar.bz2 |
More updates describing FutureWarnings.
-rw-r--r-- | Doc/doc/doc.tex | 3 | ||||
-rw-r--r-- | Doc/lib/libexcs.tex | 8 | ||||
-rw-r--r-- | Doc/lib/libwarnings.tex | 3 |
3 files changed, 13 insertions, 1 deletions
diff --git a/Doc/doc/doc.tex b/Doc/doc/doc.tex index 4fec4a3..8c5f338 100644 --- a/Doc/doc/doc.tex +++ b/Doc/doc/doc.tex @@ -1306,6 +1306,9 @@ This \UNIX\ is also followed by a space. 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} diff --git a/Doc/lib/libexcs.tex b/Doc/lib/libexcs.tex index ae16082..86b5281 100644 --- a/Doc/lib/libexcs.tex +++ b/Doc/lib/libexcs.tex @@ -362,7 +362,7 @@ Raised when an \keyword{assert} statement fails. \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. @@ -388,6 +388,11 @@ Base class for warnings about dubious syntax 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} @@ -431,4 +436,5 @@ The class hierarchy for built-in exceptions is: +-- SyntaxWarning +-- OverflowWarning +-- RuntimeWarning + +-- FutureWarning \end{verbatim} diff --git a/Doc/lib/libwarnings.tex b/Doc/lib/libwarnings.tex index b0eb908..48efd68 100644 --- a/Doc/lib/libwarnings.tex +++ b/Doc/lib/libwarnings.tex @@ -68,6 +68,9 @@ syntactic 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} While these are technically built-in exceptions, they are documented |