]> granicus.if.org Git - python/commitdiff
Remove references to the 'long' type in py3k decimal docs.
authorMark Dickinson <dickinsm@gmail.com>
Thu, 18 Feb 2010 14:54:37 +0000 (14:54 +0000)
committerMark Dickinson <dickinsm@gmail.com>
Thu, 18 Feb 2010 14:54:37 +0000 (14:54 +0000)
Doc/library/decimal.rst

index a3325f7abac7b22659824a3244584bd6e3f41e7d..7b2420542af9e575e54bcb5b04d5c6db90a42dd1 100644 (file)
@@ -351,7 +351,7 @@ Decimal objects
    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 @@ In addition to the three supplied contexts, new contexts can be created with the
    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.