[Python-checkins] cpython (2.7): remove mention of check_hostname parameter

benjamin.peterson python-checkins at python.org
Sun Dec 7 20:26:03 CET 2014


https://hg.python.org/cpython/rev/4fc7dfd5ecbd
changeset:   93779:4fc7dfd5ecbd
branch:      2.7
parent:      93777:86095f76f654
user:        Benjamin Peterson <benjamin at python.org>
date:        Sun Dec 07 14:25:38 2014 -0500
summary:
  remove mention of check_hostname parameter

files:
  Doc/library/urllib2.rst |  8 ++++----
  1 files changed, 4 insertions(+), 4 deletions(-)


diff --git a/Doc/library/urllib2.rst b/Doc/library/urllib2.rst
--- a/Doc/library/urllib2.rst
+++ b/Doc/library/urllib2.rst
@@ -292,13 +292,13 @@
    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()

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list