[Python-checkins] r78220 - python/branches/py3k/Doc/library/decimal.rst

mark.dickinson python-checkins at python.org
Thu Feb 18 15:54:38 CET 2010


Author: mark.dickinson
Date: Thu Feb 18 15:54:37 2010
New Revision: 78220

Log:
Remove references to the 'long' type in py3k decimal docs.

Modified:
   python/branches/py3k/Doc/library/decimal.rst

Modified: python/branches/py3k/Doc/library/decimal.rst
==============================================================================
--- python/branches/py3k/Doc/library/decimal.rst	(original)
+++ python/branches/py3k/Doc/library/decimal.rst	Thu Feb 18 15:54:37 2010
@@ -351,7 +351,7 @@
    operations and special methods apply.  Likewise, decimal objects can be
    copied, pickled, printed, used as dictionary keys, used as set elements,
    compared, sorted, and coerced to another type (such as :class:`float` or
-   :class:`long`).
+   :class:`int`).
 
    In addition to the standard numeric properties, decimal floating point
    objects also have a number of specialized methods:
@@ -899,7 +899,7 @@
    a corresponding :class:`Context` method.  For example, for a :class:`Context`
    instance ``C`` and :class:`Decimal` instance ``x``, ``C.exp(x)`` is
    equivalent to ``x.exp(context=C)``.  Each :class:`Context` method accepts a
-   Python integer (an instance of :class:`int` or :class:`long`) anywhere that a
+   Python integer (an instance of :class:`int`) anywhere that a
    Decimal instance is accepted.
 
 


More information about the Python-checkins mailing list