[Python-checkins] cpython (3.3): - Issue #17977: The documentation for the cadefault argument's default value

barry.warsaw python-checkins at python.org
Tue May 14 17:38:51 CEST 2013


http://hg.python.org/cpython/rev/e2288953e9f1
changeset:   83769:e2288953e9f1
branch:      3.3
parent:      83767:7aa157971810
user:        Barry Warsaw <barry at python.org>
date:        Tue May 14 11:35:16 2013 -0400
summary:
  - Issue #17977: The documentation for the cadefault argument's default value
  in urllib.request.urlopen() is fixed to match the code.

files:
  Doc/library/urllib.request.rst |  2 +-
  Misc/NEWS                      |  3 +++
  2 files changed, 4 insertions(+), 1 deletions(-)


diff --git a/Doc/library/urllib.request.rst b/Doc/library/urllib.request.rst
--- a/Doc/library/urllib.request.rst
+++ b/Doc/library/urllib.request.rst
@@ -16,7 +16,7 @@
 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.
diff --git a/Misc/NEWS b/Misc/NEWS
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -238,6 +238,9 @@
 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

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


More information about the Python-checkins mailing list