From d486707d2e36f3141da3a3845066e7dabfd94198 Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Tue, 14 May 2013 11:35:16 -0400 Subject: - Issue #17977: The documentation for the cadefault argument's default value in urllib.request.urlopen() is fixed to match the code. --- Doc/library/urllib.request.rst | 2 +- Misc/NEWS | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Doc/library/urllib.request.rst b/Doc/library/urllib.request.rst index f525e45..9f3e12e 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 28cdf7e..c616045 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 -- cgit v0.12