From c7b1a0bbe2ae298ba0471703ad6d5ef86ae5881d Mon Sep 17 00:00:00 2001 From: Serhiy Storchaka Date: Sat, 26 Nov 2016 13:43:28 +0200 Subject: Issue #28763: Use double hyphens (rendered as en-dashes) in numerical ranges in the documentation. --- Doc/howto/urllib2.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Doc/howto') diff --git a/Doc/howto/urllib2.rst b/Doc/howto/urllib2.rst index d2c799196b..712b4b7623 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 -- cgit v1.2.1