summaryrefslogtreecommitdiffstats
path: root/Doc/faq
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-11-26 11:49:59 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2016-11-26 11:49:59 (GMT)
commit0264e46caa854803a5318d75ae7893e9174f3f70 (patch)
treed10de752a926c4d1ba8d8ff3e7fe7062854af202 /Doc/faq
parent861b6859418e2cf747475f83471075c18baf74bd (diff)
parentc7b1a0bbe2ae298ba0471703ad6d5ef86ae5881d (diff)
downloadcpython-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.rst4
-rw-r--r--Doc/faq/general.rst2
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?