]> granicus.if.org Git - python/commitdiff
Remove incorrect usage of :const: in documentation.
authorMark Dickinson <dickinsm@gmail.com>
Wed, 6 Feb 2008 22:25:16 +0000 (22:25 +0000)
committerMark Dickinson <dickinsm@gmail.com>
Wed, 6 Feb 2008 22:25:16 +0000 (22:25 +0000)
Doc/library/decimal.rst

index ebb18bb2be5408e9fac0a915ea47907ada28e4c3..3495241925b4063a8de9a1084a341f26dd488dfa 100644 (file)
@@ -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;