mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
SF bug #719367, string exceptions are deprecated
Remove references to string based exceptions in the doc.
This commit is contained in:
parent
d3d5768e5e
commit
847207acff
6 changed files with 19 additions and 22 deletions
|
@ -608,8 +608,7 @@ This \UNIX\ is also followed by a space.
|
|||
\end{envdesc}
|
||||
|
||||
\begin{envdesc}{excdesc}{\p{name}}
|
||||
Describe an exception. This may be either a string exception or
|
||||
a class exception. In the case of class exceptions, the
|
||||
Describe an exception. In the case of class exceptions, the
|
||||
constructor parameters are not described; use \env{excclassdesc}
|
||||
to describe an exception class and its constructor.
|
||||
\end{envdesc}
|
||||
|
@ -1498,7 +1497,7 @@ This \UNIX\ is also followed by a space.
|
|||
|
||||
\begin{macrodesc}{exindex}{\p{exception}}
|
||||
Add a reference to an exception named \var{exception}. The
|
||||
exception may be either string- or class-based.
|
||||
exception should be class-based.
|
||||
\end{macrodesc}
|
||||
|
||||
\begin{macrodesc}{kwindex}{\p{keyword}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue