diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-11-26 11:49:59 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-11-26 11:49:59 (GMT) |
commit | 0264e46caa854803a5318d75ae7893e9174f3f70 (patch) | |
tree | d10de752a926c4d1ba8d8ff3e7fe7062854af202 /Doc/faq | |
parent | 861b6859418e2cf747475f83471075c18baf74bd (diff) | |
parent | c7b1a0bbe2ae298ba0471703ad6d5ef86ae5881d (diff) | |
download | cpython-0264e46caa854803a5318d75ae7893e9174f3f70.zip cpython-0264e46caa854803a5318d75ae7893e9174f3f70.tar.gz cpython-0264e46caa854803a5318d75ae7893e9174f3f70.tar.bz2 |
Issue #28763: Use double hyphens (rendered as en-dashes) in numerical ranges
in the documentation.
Diffstat (limited to 'Doc/faq')
-rw-r--r-- | Doc/faq/design.rst | 4 | ||||
-rw-r--r-- | Doc/faq/general.rst | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Doc/faq/design.rst b/Doc/faq/design.rst index ea3de8a..1bd800b 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 diff --git a/Doc/faq/general.rst b/Doc/faq/general.rst index 3f96700..f1e33af 100644 --- a/Doc/faq/general.rst +++ b/Doc/faq/general.rst @@ -252,7 +252,7 @@ outdated. Guido van Rossum and Jelke de Boer, "Interactively Testing Remote Servers Using the Python Programming Language", CWI Quarterly, Volume 4, Issue 4 - (December 1991), Amsterdam, pp 283-303. + (December 1991), Amsterdam, pp 283--303. Are there any books on Python? |