ID EN
Decimal

DefaultContext

Python 3.11

This context is used by the Context constructor as a prototype for new contexts. Changing a field (such a precision) has the effect of changing the default for new contexts created by the Context constructor.

Syntax

PYTHON
class decimal.DefaultContext

See Also

Context Context ROUND_HALF_EVEN Overflow InvalidOperation DivisionByZero