From 964feabd79633624f5865a0faac7f8f727b176ce Mon Sep 17 00:00:00 2001 From: Stefan Krah Date: Tue, 9 Sep 2014 19:56:56 +0200 Subject: Issue #22284: Update decimal.__all__ --- Lib/decimal.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Lib/decimal.py b/Lib/decimal.py index 5544f4e..b254f9c 100644 --- a/Lib/decimal.py +++ b/Lib/decimal.py @@ -116,6 +116,9 @@ __all__ = [ # Two major classes 'Decimal', 'Context', + # Named tuple representation + 'DecimalTuple', + # Contexts 'DefaultContext', 'BasicContext', 'ExtendedContext', @@ -124,6 +127,9 @@ __all__ = [ 'Inexact', 'Rounded', 'Subnormal', 'Overflow', 'Underflow', 'FloatOperation', + # Exceptional conditions that trigger InvalidOperation + 'DivisionImpossible', 'InvalidContext', 'ConversionSyntax', 'DivisionUndefined', + # Constants for use in setting up contexts 'ROUND_DOWN', 'ROUND_HALF_UP', 'ROUND_HALF_EVEN', 'ROUND_CEILING', 'ROUND_FLOOR', 'ROUND_UP', 'ROUND_HALF_DOWN', 'ROUND_05UP', -- cgit v0.12