mirror of
https://github.com/python/cpython.git
synced 2025-11-01 10:45:30 +00:00
typo
This commit is contained in:
parent
4aea7d3811
commit
ad8586d075
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ include the originating exception(s) and the final exception.
|
|||
|
||||
This implicit exception chain can be made explicit by using :keyword:`from`
|
||||
with :keyword:`raise`. The single argument to :keyword:`from` must be an
|
||||
exception or :const:`None`, and it will bet set as :attr:`__cause__` on the
|
||||
exception or :const:`None`, and it will be set as :attr:`__cause__` on the
|
||||
raised exception. If :attr:`__cause__` is an exception it will be displayed
|
||||
instead of :attr:`__context__`; if :attr:`__cause__` is None,
|
||||
:attr:`__context__` will not be displayed by the default exception handling
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue