class decimal.Context(prec=None, rounding=None, Emin=None, Emax=None, capitals=None, clamp=None, flags=None, traps=None)
Creates a new context. If a field is not specified or is None, the default values are copied from the DefaultContext. If the flags field is not specified or is None, all flags are cleared.
prec is an integer in the range [1, MAX_PREC] that sets the precision for arithmetic operations in the context.
The rounding option is one of the constants listed in the section Rounding