diff options
-rw-r--r-- | Lib/decimal.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/decimal.py b/Lib/decimal.py index d5f6795..500ba07 100644 --- a/Lib/decimal.py +++ b/Lib/decimal.py @@ -9,7 +9,7 @@ # Todo: -# Provide a clean way of attaching monetary format representations +# Add rich comparisons for equality testing with other types """ @@ -2969,6 +2969,7 @@ DefaultContext = Context( Emin=DEFAULT_MIN_EXPONENT, capitals=1 ) +DefaultContext.trap_enablers.update({ConversionSyntax : 1}) # Pre-made alternate contexts offered by the specification # Don't change these; the user should be able to select these |