summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2008-02-06 22:25:16 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2008-02-06 22:25:16 (GMT)
commitbafa9425a61e7584e4a3b15a5148371010970da7 (patch)
treeb9dd94d5a6a8a062883b8b86b7616cc4642f39b6 /Doc/library
parent2fc9263df56d28a6c1def6c8a0517bbddfa899af (diff)
downloadcpython-bafa9425a61e7584e4a3b15a5148371010970da7.zip
cpython-bafa9425a61e7584e4a3b15a5148371010970da7.tar.gz
cpython-bafa9425a61e7584e4a3b15a5148371010970da7.tar.bz2
Remove incorrect usage of :const: in documentation.
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/decimal.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/decimal.rst b/Doc/library/decimal.rst
index ebb18bb..3495241 100644
--- a/Doc/library/decimal.rst
+++ b/Doc/library/decimal.rst
@@ -1294,8 +1294,8 @@ The behavior of Python's comparison operators can be a little surprising where a
:const:`NaN` is involved. A test for equality where one of the operands is a
quiet or signaling :const:`NaN` always returns :const:`False` (even when doing
``Decimal('NaN')==Decimal('NaN')``), while a test for inequality always returns
-:const:`True`. An attempt to compare two Decimals using any of the :const:'<',
-:const:'<=', :const:'>' or :const:'>=' operators will raise the
+:const:`True`. An attempt to compare two Decimals using any of the ``<``,
+``<=``, ``>`` or ``>=`` operators will raise the
:exc:`InvalidOperation` signal if either operand is a :const:`NaN`, and return
:const:`False` if this signal is trapped. Note that the General Decimal
Arithmetic specification does not specify the behavior of direct comparisons;