mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
Fix typo reported to python-docs.
This commit is contained in:
parent
0a0e6c3b5e
commit
8bd62afca9
1 changed files with 1 additions and 1 deletions
|
@ -533,7 +533,7 @@ first two objects are used to determine the \emph{type} and
|
|||
\emph{value} of the exception.
|
||||
|
||||
If the first object is an instance, the type of the exception is the
|
||||
class of the instance, the instance itself if the value, and the
|
||||
class of the instance, the instance itself is the value, and the
|
||||
second object must be \code{None}.
|
||||
|
||||
If the first object is a class, it becomes the type of the exception.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue