[Python-checkins] r60632 - python/trunk/Doc/library/decimal.rst

mark.dickinson python-checkins at python.org
Wed Feb 6 23:25:16 CET 2008


Author: mark.dickinson
Date: Wed Feb  6 23:25:16 2008
New Revision: 60632

Modified:
   python/trunk/Doc/library/decimal.rst
Log:
Remove incorrect usage of :const: in documentation.


Modified: python/trunk/Doc/library/decimal.rst
==============================================================================
--- python/trunk/Doc/library/decimal.rst	(original)
+++ python/trunk/Doc/library/decimal.rst	Wed Feb  6 23:25:16 2008
@@ -1294,8 +1294,8 @@
 :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;


More information about the Python-checkins mailing list