summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2014-12-07 14:25:38 -0500
committerBenjamin Peterson <benjamin@python.org>2014-12-07 14:25:38 -0500
commit8d356b70f4d2e2b03828df9769cc6500c76e5a02 (patch)
treebe8dc1041fd482dafd5165695a434aa72b64dd6f
parent492e28d21e5dcc5e7efab9e9991eca7146924e1b (diff)
downloadcpython-8d356b70f4d2e2b03828df9769cc6500c76e5a02.tar.gz
remove mention of check_hostname parameter
-rw-r--r--Doc/library/urllib2.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/library/urllib2.rst b/Doc/library/urllib2.rst
index ce0fa98f7d..f599894adc 100644
--- a/Doc/library/urllib2.rst
+++ b/Doc/library/urllib2.rst
@@ -292,13 +292,13 @@ The following classes are provided:
A class to handle opening of HTTP URLs.
-.. class:: HTTPSHandler([debuglevel[, context[, check_hostname]]])
+.. class:: HTTPSHandler([debuglevel[, context]])
- A class to handle opening of HTTPS URLs. *context* and *check_hostname* have
- the same meaning as for :class:`httplib.HTTPSConnection`.
+ A class to handle opening of HTTPS URLs. *context* has the same meaning as
+ for :class:`httplib.HTTPSConnection`.
.. versionchanged:: 2.7.9
- *context* and *check_hostname* were added.
+ *context* added.
.. class:: FileHandler()