diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2011-10-19 08:06:26 (GMT) |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2011-10-19 08:06:26 (GMT) |
commit | f10644983e88c73437703a863151593cc37a657f (patch) | |
tree | b3cf3ffcc4d27cf9f81c90efbedbc10a856db857 /Doc/tutorial | |
parent | 318909b297241f9c46f25815e12d05136da57fa9 (diff) | |
parent | e130a52d8a60229f53c8bc2ea7a1f51ee592bbd7 (diff) | |
download | cpython-f10644983e88c73437703a863151593cc37a657f.zip cpython-f10644983e88c73437703a863151593cc37a657f.tar.gz cpython-f10644983e88c73437703a863151593cc37a657f.tar.bz2 |
Merge with 3.2.
Diffstat (limited to 'Doc/tutorial')
-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' |