Skip to content

Commit f48c5bb

Browse files
committed
Fix: Change BasicContext to data directive in decimal module documentation
1 parent e389d6c commit f48c5bb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Doc/library/decimal.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1033,10 +1033,10 @@ New contexts can also be created using the :class:`Context` constructor
10331033
described below. In addition, the module provides three pre-made contexts:
10341034

10351035

1036-
.. class:: BasicContext
1036+
.. data:: BasicContext
10371037

1038-
This is a standard context defined by the General Decimal Arithmetic
1039-
Specification. Precision is set to nine. Rounding is set to
1038+
This is a predefined context object defined by the General Decimal Arithmetic Specification.
1039+
Precision is set to nine. Rounding is set to
10401040
:const:`ROUND_HALF_UP`. All flags are cleared. All traps are enabled (treated
10411041
as exceptions) except :const:`Inexact`, :const:`Rounded`, and
10421042
:const:`Subnormal`.

0 commit comments

Comments
 (0)