[Python-checkins] cpython (merge 3.3 -> default): - Issue #17977: The documentation for the cadefault argument's default value
barry.warsaw
python-checkins at python.org
Tue May 14 17:38:52 CEST 2013
http://hg.python.org/cpython/rev/85ecc4761a6c
changeset: 83770:85ecc4761a6c
parent: 83768:617cb2f978b0
parent: 83769:e2288953e9f1
user: Barry Warsaw <barry at python.org>
date: Tue May 14 11:38:38 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
@@ -296,6 +296,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