diff options
author | Stefan Krah <skrah@bytereef.org> | 2014-09-09 17:56:56 (GMT) |
---|---|---|
committer | Stefan Krah <skrah@bytereef.org> | 2014-09-09 17:56:56 (GMT) |
commit | 964feabd79633624f5865a0faac7f8f727b176ce (patch) | |
tree | eba99921dad26d20ee660900e6f18a28e4bcc1ce | |
parent | df0eb95b571321e6d47057f34b3afc3894476d3f (diff) | |
download | cpython-964feabd79633624f5865a0faac7f8f727b176ce.zip cpython-964feabd79633624f5865a0faac7f8f727b176ce.tar.gz cpython-964feabd79633624f5865a0faac7f8f727b176ce.tar.bz2 |
Issue #22284: Update decimal.__all__
-rw-r--r-- | Lib/decimal.py | 6 |
1 files changed, 6 insertions, 0 deletions
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', |