summaryrefslogtreecommitdiffstats
path: root/Doc/tutorial/floatingpoint.rst
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2009-02-21 20:59:32 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2009-02-21 20:59:32 (GMT)
commit934896dc0977ea25dc37c13117525f2394625cee (patch)
treef4671cebdd730ba732dcae5185548dd35b9ffa72 /Doc/tutorial/floatingpoint.rst
parent91cf882b367644ece7f121cd22fc43c2f439a2d5 (diff)
downloadcpython-934896dc0977ea25dc37c13117525f2394625cee.zip
cpython-934896dc0977ea25dc37c13117525f2394625cee.tar.gz
cpython-934896dc0977ea25dc37c13117525f2394625cee.tar.bz2
Merged revisions 69846 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r69846 | mark.dickinson | 2009-02-21 20:27:01 +0000 (Sat, 21 Feb 2009) | 2 lines Issue #5341: Fix a variety of spelling errors. ........
Diffstat (limited to 'Doc/tutorial/floatingpoint.rst')
-rw-r--r--Doc/tutorial/floatingpoint.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/tutorial/floatingpoint.rst b/Doc/tutorial/floatingpoint.rst
index f41be3a..b6e04ff 100644
--- a/Doc/tutorial/floatingpoint.rst
+++ b/Doc/tutorial/floatingpoint.rst
@@ -65,7 +65,7 @@ display ::
>>> 0.1
0.1000000000000000055511151231257827021181583404541015625
-instead! The Python prompt uses the builtin :func:`repr` function to obtain a
+instead! The Python prompt uses the built-in :func:`repr` function to obtain a
string version of everything it displays. For floats, ``repr(float)`` rounds
the true decimal value to 17 significant digits, giving ::
@@ -81,7 +81,7 @@ thing in all languages that support your hardware's floating-point arithmetic
(although some languages may not *display* the difference by default, or in all
output modes).
-Python's builtin :func:`str` function produces only 12 significant digits, and
+Python's built-in :func:`str` function produces only 12 significant digits, and
you may wish to use that instead. It's unusual for ``eval(str(x))`` to
reproduce *x*, but the output may be more pleasant to look at::