summaryrefslogtreecommitdiffstats
path: root/Doc/howto
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/howto
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/howto')
-rw-r--r--Doc/howto/urllib2.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/howto/urllib2.rst b/Doc/howto/urllib2.rst
index d2c7991..712b4b7 100644
--- a/Doc/howto/urllib2.rst
+++ b/Doc/howto/urllib2.rst
@@ -240,8 +240,8 @@ Error Codes
~~~~~~~~~~~
Because the default handlers handle redirects (codes in the 300 range), and
-codes in the 100-299 range indicate success, you will usually only see error
-codes in the 400-599 range.
+codes in the 100--299 range indicate success, you will usually only see error
+codes in the 400--599 range.
:attr:`http.server.BaseHTTPRequestHandler.responses` is a useful dictionary of
response codes in that shows all the response codes used by RFC 2616. The