summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2010-02-18 14:54:37 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2010-02-18 14:54:37 (GMT)
commit5d233fd6ff73977fadc50280f44c92c26914f24a (patch)
tree489bfbf24052542d077ee3d8ba53c0eb8ff7c80d
parent84230a1eb27e2b11a2eb8d0d4d0145179719d4f3 (diff)
downloadcpython-5d233fd6ff73977fadc50280f44c92c26914f24a.zip
cpython-5d233fd6ff73977fadc50280f44c92c26914f24a.tar.gz
cpython-5d233fd6ff73977fadc50280f44c92c26914f24a.tar.bz2
Remove references to the 'long' type in py3k decimal docs.
-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 a3325f7..7b24205 100644
--- a/Doc/library/decimal.rst
+++ b/Doc/library/decimal.rst
@@ -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.