summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libexcs.tex
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2002-05-29 15:54:55 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2002-05-29 15:54:55 (GMT)
commitd68f5171ebb2f3404548c846523e9e43308a4130 (patch)
treee04245cfbfd036be2c9f8b30c09459ddbbe27710 /Doc/lib/libexcs.tex
parente85ee8d815ed5fa3cbbc2770cd09bcbaf605182c (diff)
downloadcpython-d68f5171ebb2f3404548c846523e9e43308a4130.zip
cpython-d68f5171ebb2f3404548c846523e9e43308a4130.tar.gz
cpython-d68f5171ebb2f3404548c846523e9e43308a4130.tar.bz2
As discussed on python-dev, add a mechanism to indicate features
that are in the process of deprecation (PendingDeprecationWarning). Docs could be improved.
Diffstat (limited to 'Doc/lib/libexcs.tex')
-rw-r--r--Doc/lib/libexcs.tex5
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/lib/libexcs.tex b/Doc/lib/libexcs.tex
index b836811..ae16082 100644
--- a/Doc/lib/libexcs.tex
+++ b/Doc/lib/libexcs.tex
@@ -376,6 +376,10 @@ Base class for warnings generated by user code.
Base class for warnings about deprecated features.
\end{excdesc}
+\begin{excdesc}{PendingDeprecationWarning}
+Base class for warnings about features which will be deprecated in the future.
+\end{excdesc}
+
\begin{excdesc}{SyntaxWarning}
Base class for warnings about dubious syntax
\end{excdesc}
@@ -423,6 +427,7 @@ The class hierarchy for built-in exceptions is:
+---Warning
+-- UserWarning
+-- DeprecationWarning
+ +-- PendingDeprecationWarning
+-- SyntaxWarning
+-- OverflowWarning
+-- RuntimeWarning