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
1016
1016
described below. In addition, the module provides three pre-made contexts:
1017
1017
1018
1018
1019
- .. class :: BasicContext
1019
+ .. data :: BasicContext
1020
1020
1021
1021
This is a standard context defined by the General Decimal Arithmetic
1022
1022
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:
1027
1027
Because many of the traps are enabled, this context is useful for debugging.
1028
1028
1029
1029
1030
- .. class :: ExtendedContext
1030
+ .. data :: ExtendedContext
1031
1031
1032
1032
This is a standard context defined by the General Decimal Arithmetic
1033
1033
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:
1040
1040
presence of conditions that would otherwise halt the program.
1041
1041
1042
1042
1043
- .. class :: DefaultContext
1043
+ .. data :: DefaultContext
1044
1044
1045
1045
This context is used by the :class: `Context ` constructor as a prototype for new
1046
1046
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
1147
1147
| :const: `MIN_EMIN ` | ``-425000000 `` | ``-999999999999999999 `` |
1148
1148
+-------------------+----------------+-------------------------+
1149
1149
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 `)
1152
1152
the magnitude of :attr: `~decimal.Context.Emax ` and
1153
1153
:attr: `~decimal.Context.Emin ` has changed to ``999999 ``.
1154
1154
You can’t perform that action at this time.
0 commit comments