mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-06 20:24:30 +08:00
44 lines
895 B
Python
44 lines
895 B
Python
# This is a slight lie, the implementations aren't exactly identical
|
|
# However, in all likelihood, the differences are inconsequential
|
|
from _decimal import *
|
|
|
|
__all__ = [
|
|
"Decimal",
|
|
"Context",
|
|
"DecimalTuple",
|
|
"DefaultContext",
|
|
"BasicContext",
|
|
"ExtendedContext",
|
|
"DecimalException",
|
|
"Clamped",
|
|
"InvalidOperation",
|
|
"DivisionByZero",
|
|
"Inexact",
|
|
"Rounded",
|
|
"Subnormal",
|
|
"Overflow",
|
|
"Underflow",
|
|
"FloatOperation",
|
|
"DivisionImpossible",
|
|
"InvalidContext",
|
|
"ConversionSyntax",
|
|
"DivisionUndefined",
|
|
"ROUND_DOWN",
|
|
"ROUND_HALF_UP",
|
|
"ROUND_HALF_EVEN",
|
|
"ROUND_CEILING",
|
|
"ROUND_FLOOR",
|
|
"ROUND_UP",
|
|
"ROUND_HALF_DOWN",
|
|
"ROUND_05UP",
|
|
"setcontext",
|
|
"getcontext",
|
|
"localcontext",
|
|
"MAX_PREC",
|
|
"MAX_EMAX",
|
|
"MIN_EMIN",
|
|
"MIN_ETINY",
|
|
"HAVE_THREADS",
|
|
"HAVE_CONTEXTVAR",
|
|
]
|