Make Decimal a subclass of Real and Inexact.
diff --git a/Lib/decimal.py b/Lib/decimal.py
index 7f95768..ba335bb 100644
--- a/Lib/decimal.py
+++ b/Lib/decimal.py
@@ -134,6 +134,7 @@
'setcontext', 'getcontext', 'localcontext'
]
+import numbers as _numbers
import copy as _copy
# Rounding
@@ -509,7 +510,7 @@
##### Decimal class #######################################################
-class Decimal(object):
+class Decimal(_numbers.Real, _numbers.Inexact):
"""Floating point class for decimal arithmetic."""
__slots__ = ('_exp','_int','_sign', '_is_special')