mirror of
https://github.com/python/cpython.git
synced 2026-01-07 16:02:55 +00:00
- fix markup error
- remove silly emoticon
This commit is contained in:
parent
2982c32a00
commit
9baee31a44
1 changed files with 2 additions and 2 deletions
|
|
@ -704,7 +704,7 @@ new powerful features added:
|
|||
|
||||
* :pep:`3110`: Catching exceptions. You must now use
|
||||
:keyword:`except` *SomeException* :keyword:`as` *variable* instead
|
||||
of :keyword:`except` *SomeException*, variable*. Moreover, the
|
||||
of :keyword:`except` *SomeException*, *variable*. Moreover, the
|
||||
*variable* is explicitly deleted when the :keyword:`except` block
|
||||
is left.
|
||||
|
||||
|
|
@ -726,7 +726,7 @@ new powerful features added:
|
|||
traceback printed when an unhandled exception occurs walks the chain
|
||||
of :attr:`__cause__` and :attr:`__context__` attributes and prints a
|
||||
separate traceback for each component of the chain, with the primary
|
||||
exception at the top. (Java users may recognize this behavior. :-)
|
||||
exception at the top. (Java users may recognize this behavior.)
|
||||
|
||||
* :pep:`3134`: Exception objects now store their traceback as the
|
||||
:attr:`__traceback__` attribute. This means that an exception
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue