summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorAndre Delfino <adelfino@gmail.com>2018-12-24 07:03:40 (GMT)
committerRaymond Hettinger <rhettinger@users.noreply.github.com>2018-12-24 07:03:40 (GMT)
commit7804e8c70cba201e51a35e704038fd882d810445 (patch)
tree7841bd9e5505bff88870ab8c8a4c3e265a285892 /Doc/library
parent63d152232e1742660f481c04a811f824b91f6790 (diff)
downloadcpython-7804e8c70cba201e51a35e704038fd882d810445.zip
cpython-7804e8c70cba201e51a35e704038fd882d810445.tar.gz
cpython-7804e8c70cba201e51a35e704038fd882d810445.tar.bz2
Tweak wording about Fraction and Decimal (GH-10904)
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/stdtypes.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst
index c699553c..d23e7e9 100644
--- a/Doc/library/stdtypes.rst
+++ b/Doc/library/stdtypes.rst
@@ -220,8 +220,8 @@ numbers for the machine on which your program is running is available
in :data:`sys.float_info`. Complex numbers have a real and imaginary
part, which are each a floating point number. To extract these parts
from a complex number *z*, use ``z.real`` and ``z.imag``. (The standard
-library includes additional numeric types, :mod:`fractions` that hold
-rationals, and :mod:`decimal` that hold floating-point numbers with
+library includes the additional numeric types :mod:`fractions.Fraction`, for
+rationals, and :mod:`decimal.Decimal`, for floating-point numbers with
user-definable precision.)
.. index::