mirror of
https://github.com/python/cpython.git
synced 2025-10-13 18:33:34 +00:00
Issue #22284: Update decimal.__all__
This commit is contained in:
parent
df0eb95b57
commit
964feabd79
1 changed files with 6 additions and 0 deletions
|
@ -116,6 +116,9 @@ __all__ = [
|
||||||
# Two major classes
|
# Two major classes
|
||||||
'Decimal', 'Context',
|
'Decimal', 'Context',
|
||||||
|
|
||||||
|
# Named tuple representation
|
||||||
|
'DecimalTuple',
|
||||||
|
|
||||||
# Contexts
|
# Contexts
|
||||||
'DefaultContext', 'BasicContext', 'ExtendedContext',
|
'DefaultContext', 'BasicContext', 'ExtendedContext',
|
||||||
|
|
||||||
|
@ -124,6 +127,9 @@ __all__ = [
|
||||||
'Inexact', 'Rounded', 'Subnormal', 'Overflow', 'Underflow',
|
'Inexact', 'Rounded', 'Subnormal', 'Overflow', 'Underflow',
|
||||||
'FloatOperation',
|
'FloatOperation',
|
||||||
|
|
||||||
|
# Exceptional conditions that trigger InvalidOperation
|
||||||
|
'DivisionImpossible', 'InvalidContext', 'ConversionSyntax', 'DivisionUndefined',
|
||||||
|
|
||||||
# Constants for use in setting up contexts
|
# Constants for use in setting up contexts
|
||||||
'ROUND_DOWN', 'ROUND_HALF_UP', 'ROUND_HALF_EVEN', 'ROUND_CEILING',
|
'ROUND_DOWN', 'ROUND_HALF_UP', 'ROUND_HALF_EVEN', 'ROUND_CEILING',
|
||||||
'ROUND_FLOOR', 'ROUND_UP', 'ROUND_HALF_DOWN', 'ROUND_05UP',
|
'ROUND_FLOOR', 'ROUND_UP', 'ROUND_HALF_DOWN', 'ROUND_05UP',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue