Commit 25131faf authored by Barry Warsaw's avatar Barry Warsaw

NumberError => ArithmeticError

parent 2d2c3444
......@@ -35,7 +35,7 @@ Exception(*)
| +-- IndexError
| +-- KeyError
|
+-- NumberError(*)
+-- ArithmeticError(*)
| |
| +-- OverflowError
| +-- ZeroDivisionError
......@@ -112,16 +112,16 @@ class KeyboardInterrupt(StandardError):
class AssertionError(StandardError):
pass
class NumberError(StandardError):
class ArithmeticError(StandardError):
pass
class OverflowError(NumberError):
class OverflowError(ArithmeticError):
pass
class FloatingPointError(NumberError):
class FloatingPointError(ArithmeticError):
pass
class ZeroDivisionError(NumberError):
class ZeroDivisionError(ArithmeticError):
pass
class LookupError(StandardError):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment