diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-11-26 11:43:28 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-11-26 11:43:28 (GMT) |
commit | c7b1a0bbe2ae298ba0471703ad6d5ef86ae5881d (patch) | |
tree | 35c0d8e77d1c248de80b751339d293a5ff78ffe6 /Doc/faq/design.rst | |
parent | 4931122de80c6e7f14162ecc9c37b650a4a01a4a (diff) | |
download | cpython-c7b1a0bbe2ae298ba0471703ad6d5ef86ae5881d.zip cpython-c7b1a0bbe2ae298ba0471703ad6d5ef86ae5881d.tar.gz cpython-c7b1a0bbe2ae298ba0471703ad6d5ef86ae5881d.tar.bz2 |
Issue #28763: Use double hyphens (rendered as en-dashes) in numerical ranges
in the documentation.
Diffstat (limited to 'Doc/faq/design.rst')
-rw-r--r-- | Doc/faq/design.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/faq/design.rst b/Doc/faq/design.rst index 1b6cd7e..108df6d 100644 --- a/Doc/faq/design.rst +++ b/Doc/faq/design.rst @@ -31,7 +31,7 @@ least slightly uneasy when reading (or being required to write) another style. Many coding styles place begin/end brackets on a line by themselves. This makes programs considerably longer and wastes valuable screen space, making it harder to get a good overview of a program. Ideally, a function should fit on one -screen (say, 20-30 lines). 20 lines of Python can do a lot more work than 20 +screen (say, 20--30 lines). 20 lines of Python can do a lot more work than 20 lines of C. This is not solely due to the lack of begin/end brackets -- the lack of declarations and the high-level data types are also responsible -- but the indentation-based syntax certainly helps. @@ -77,7 +77,7 @@ which is exactly:: 1.1999999999999999555910790149937383830547332763671875 (decimal) -The typical precision of 53 bits provides Python floats with 15-16 +The typical precision of 53 bits provides Python floats with 15--16 decimal digits of accuracy. For a fuller explanation, please see the :ref:`floating point arithmetic |