From: Barry Warsaw Date: Tue, 14 May 2013 15:35:16 +0000 (-0400) Subject: - Issue #17977: The documentation for the cadefault argument's default value X-Git-Tag: v3.4.0a1~729^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d486707d2e36f3141da3a3845066e7dabfd94198;p=thirdparty%2FPython%2Fcpython.git - Issue #17977: The documentation for the cadefault argument's default value in urllib.request.urlopen() is fixed to match the code. --- diff --git a/Doc/library/urllib.request.rst b/Doc/library/urllib.request.rst index f525e45ab8fc..9f3e12eb47ba 100644 --- a/Doc/library/urllib.request.rst +++ b/Doc/library/urllib.request.rst @@ -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. diff --git a/Misc/NEWS b/Misc/NEWS index 28cdf7e05c68..c616045921c6 100644 --- 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