File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -1016,7 +1016,7 @@ New contexts can also be created using the :class:`Context` constructor
10161016described below. In addition, the module provides three pre-made contexts:
10171017
10181018
1019- .. class :: BasicContext
1019+ .. data :: BasicContext
10201020
10211021 This is a standard context defined by the General Decimal Arithmetic
10221022 Specification. Precision is set to nine. Rounding is set to
@@ -1027,7 +1027,7 @@ described below. In addition, the module provides three pre-made contexts:
10271027 Because many of the traps are enabled, this context is useful for debugging.
10281028
10291029
1030- .. class :: ExtendedContext
1030+ .. data :: ExtendedContext
10311031
10321032 This is a standard context defined by the General Decimal Arithmetic
10331033 Specification. Precision is set to nine. Rounding is set to
@@ -1040,7 +1040,7 @@ described below. In addition, the module provides three pre-made contexts:
10401040 presence of conditions that would otherwise halt the program.
10411041
10421042
1043- .. class :: DefaultContext
1043+ .. data :: DefaultContext
10441044
10451045 This context is used by the :class: `Context ` constructor as a prototype for new
10461046 contexts. Changing a field (such a precision) has the effect of changing the
Original file line number Diff line number Diff line change @@ -1147,8 +1147,8 @@ API changes
11471147 | :const: `MIN_EMIN ` | ``-425000000 `` | ``-999999999999999999 `` |
11481148 +-------------------+----------------+-------------------------+
11491149
1150- * In the context templates (:class : `~decimal.DefaultContext `,
1151- :class : `~decimal.BasicContext ` and :class : `~decimal.ExtendedContext `)
1150+ * In the context templates (:const : `~decimal.DefaultContext `,
1151+ :const : `~decimal.BasicContext ` and :const : `~decimal.ExtendedContext `)
11521152 the magnitude of :attr: `~decimal.Context.Emax ` and
11531153 :attr: `~decimal.Context.Emin ` has changed to ``999999 ``.
11541154
You can’t perform that action at this time.
0 commit comments