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 @@ -1033,7 +1033,7 @@ New contexts can also be created using the :class:`Context` constructor
10331033described below. In addition, the module provides three pre-made contexts:
10341034
10351035
1036- .. class :: BasicContext
1036+ .. data :: BasicContext
10371037
10381038 This is a standard context defined by the General Decimal Arithmetic
10391039 Specification. Precision is set to nine. Rounding is set to
@@ -1044,7 +1044,7 @@ described below. In addition, the module provides three pre-made contexts:
10441044 Because many of the traps are enabled, this context is useful for debugging.
10451045
10461046
1047- .. class :: ExtendedContext
1047+ .. data :: ExtendedContext
10481048
10491049 This is a standard context defined by the General Decimal Arithmetic
10501050 Specification. Precision is set to nine. Rounding is set to
@@ -1057,7 +1057,7 @@ described below. In addition, the module provides three pre-made contexts:
10571057 presence of conditions that would otherwise halt the program.
10581058
10591059
1060- .. class :: DefaultContext
1060+ .. data :: DefaultContext
10611061
10621062 This context is used by the :class: `Context ` constructor as a prototype for new
10631063 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