diff options
author | Benjamin Peterson <benjamin@python.org> | 2012-02-27 15:59:10 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2012-02-27 15:59:10 (GMT) |
commit | ad8586d075015c2d4204f1223b5ac854d7addc27 (patch) | |
tree | 73efd7a371f9b7b4490cfc67ed9f1efe4981b54e | |
parent | 4aea7d3811970e1f88f0804baaf55fa94987772c (diff) | |
download | cpython-ad8586d075015c2d4204f1223b5ac854d7addc27.zip cpython-ad8586d075015c2d4204f1223b5ac854d7addc27.tar.gz cpython-ad8586d075015c2d4204f1223b5ac854d7addc27.tar.bz2 |
typo
-rw-r--r-- | Doc/library/exceptions.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/exceptions.rst b/Doc/library/exceptions.rst index 7e3a0c3..8c5a960 100644 --- a/Doc/library/exceptions.rst +++ b/Doc/library/exceptions.rst @@ -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 |