Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 964feab

Browse files
author
Stefan Krah
committed
Issue #22284: Update decimal.__all__
1 parent df0eb95 commit 964feab

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

Lib/decimal.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,9 @@
116116
# Two major classes
117117
'Decimal', 'Context',
118118

119+
# Named tuple representation
120+
'DecimalTuple',
121+
119122
# Contexts
120123
'DefaultContext', 'BasicContext', 'ExtendedContext',
121124

@@ -124,6 +127,9 @@
124127
'Inexact', 'Rounded', 'Subnormal', 'Overflow', 'Underflow',
125128
'FloatOperation',
126129

130+
# Exceptional conditions that trigger InvalidOperation
131+
'DivisionImpossible', 'InvalidContext', 'ConversionSyntax', 'DivisionUndefined',
132+
127133
# Constants for use in setting up contexts
128134
'ROUND_DOWN', 'ROUND_HALF_UP', 'ROUND_HALF_EVEN', 'ROUND_CEILING',
129135
'ROUND_FLOOR', 'ROUND_UP', 'ROUND_HALF_DOWN', 'ROUND_05UP',

0 commit comments

Comments
 (0)