1.1 --- a/lib/__builtins__/core.py Wed Jul 11 23:53:09 2018 +0200
1.2 +++ b/lib/__builtins__/core.py Thu Jul 12 00:15:16 2018 +0200
1.3 @@ -3,7 +3,7 @@
1.4 """
1.5 Core objects.
1.6
1.7 -Copyright (C) 2015, 2016, 2017 Paul Boddie <paul@boddie.org.uk>
1.8 +Copyright (C) 2015, 2016, 2017, 2018 Paul Boddie <paul@boddie.org.uk>
1.9
1.10 This program is free software; you can redistribute it and/or modify it under
1.11 the terms of the GNU General Public License as published by the Free Software
1.12 @@ -189,6 +189,15 @@
1.13
1.14 pass
1.15
1.16 +class UnderflowError(ArithmeticError):
1.17 +
1.18 + """
1.19 + Indicates that an arithmetic operation produced a result that could not be
1.20 + represented.
1.21 + """
1.22 +
1.23 + pass
1.24 +
1.25 class ZeroDivisionError(ArithmeticError):
1.26
1.27 "An error occurring when an attempt was made to divide an operand by zero."