]> granicus.if.org Git - python/commitdiff
- Issue #17977: The documentation for the cadefault argument's default value
authorBarry Warsaw <barry@python.org>
Tue, 14 May 2013 15:35:16 +0000 (11:35 -0400)
committerBarry Warsaw <barry@python.org>
Tue, 14 May 2013 15:35:16 +0000 (11:35 -0400)
  in urllib.request.urlopen() is fixed to match the code.

Doc/library/urllib.request.rst
Misc/NEWS

index f525e45ab8fc199c494f3d37f6bdc6b9b8afb30d..9f3e12eb47ba81ebb9ce9746a444f1dc20719f82 100644 (file)
@@ -16,7 +16,7 @@ authentication, redirections, cookies and more.
 The :mod:`urllib.request` module defines the following functions:
 
 
-.. function:: urlopen(url, data=None[, timeout], *, cafile=None, capath=None, cadefault=True)
+.. function:: urlopen(url, data=None[, timeout], *, cafile=None, capath=None, cadefault=False)
 
    Open the URL *url*, which can be either a string or a
    :class:`Request` object.
index 28cdf7e05c682a5beae17b35f87efb85c54e4fad..c616045921c6afa2b382b9e77ccc9ee747fbb544 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -238,6 +238,9 @@ Tests
 Documentation
 -------------
 
+- Issue #17977: The documentation for the cadefault argument's default value
+  in urllib.request.urlopen() is fixed to match the code.
+
 - Issue #15940: Specify effect of locale on time functions.
 
 - Issue #6696: add documentation for the Profile objects, and improve