diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2011-10-19 07:58:56 (GMT) |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2011-10-19 07:58:56 (GMT) |
commit | e130a52d8a60229f53c8bc2ea7a1f51ee592bbd7 (patch) | |
tree | b7f128d5f626c78d57d53812a5953c6eb56cca72 /Doc/tutorial/floatingpoint.rst | |
parent | a5a9a9c3696af0a4a0df74618e63a4d47a62e00f (diff) | |
download | cpython-e130a52d8a60229f53c8bc2ea7a1f51ee592bbd7.zip cpython-e130a52d8a60229f53c8bc2ea7a1f51ee592bbd7.tar.gz cpython-e130a52d8a60229f53c8bc2ea7a1f51ee592bbd7.tar.bz2 |
Remove duplication.
Diffstat (limited to 'Doc/tutorial/floatingpoint.rst')
-rw-r--r-- | Doc/tutorial/floatingpoint.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/tutorial/floatingpoint.rst b/Doc/tutorial/floatingpoint.rst index 863fb28..9c3c143 100644 --- a/Doc/tutorial/floatingpoint.rst +++ b/Doc/tutorial/floatingpoint.rst @@ -92,7 +92,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). -For more pleasant output, you may may wish to use string formatting to produce a limited number of significant digits:: +For more pleasant output, you may wish to use string formatting to produce a limited number of significant digits:: >>> format(math.pi, '.12g') # give 12 significant digits '3.14159265359' |