diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2002-05-29 15:54:55 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2002-05-29 15:54:55 (GMT) |
commit | d68f5171ebb2f3404548c846523e9e43308a4130 (patch) | |
tree | e04245cfbfd036be2c9f8b30c09459ddbbe27710 /Doc/lib/libexcs.tex | |
parent | e85ee8d815ed5fa3cbbc2770cd09bcbaf605182c (diff) | |
download | cpython-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.tex | 5 |
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 |