mirror of
https://github.com/python/cpython.git
synced 2025-12-15 21:44:50 +00:00
Patch #1537 from Chad Austin
Change GeneratorExit's base class from Exception to BaseException (This time I'm applying the patch to the correct sandbox.)
This commit is contained in:
parent
cbcfe4f3e4
commit
44eeaec173
6 changed files with 25 additions and 11 deletions
|
|
@ -1,8 +1,8 @@
|
|||
BaseException
|
||||
+-- SystemExit
|
||||
+-- KeyboardInterrupt
|
||||
+-- GeneratorExit
|
||||
+-- Exception
|
||||
+-- GeneratorExit
|
||||
+-- StopIteration
|
||||
+-- StandardError
|
||||
| +-- ArithmeticError
|
||||
|
|
@ -33,10 +33,10 @@ BaseException
|
|||
| +-- SystemError
|
||||
| +-- TypeError
|
||||
| +-- ValueError
|
||||
| | +-- UnicodeError
|
||||
| | +-- UnicodeDecodeError
|
||||
| | +-- UnicodeEncodeError
|
||||
| | +-- UnicodeTranslateError
|
||||
| +-- UnicodeError
|
||||
| +-- UnicodeDecodeError
|
||||
| +-- UnicodeEncodeError
|
||||
| +-- UnicodeTranslateError
|
||||
+-- Warning
|
||||
+-- DeprecationWarning
|
||||
+-- PendingDeprecationWarning
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue