Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d486707

Browse files
committed
- Issue #17977: The documentation for the cadefault argument's default value
in urllib.request.urlopen() is fixed to match the code.
1 parent dedac52 commit d486707

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

Doc/library/urllib.request.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ authentication, redirections, cookies and more.
1616
The :mod:`urllib.request` module defines the following functions:
1717

1818

19-
.. function:: urlopen(url, data=None[, timeout], *, cafile=None, capath=None, cadefault=True)
19+
.. function:: urlopen(url, data=None[, timeout], *, cafile=None, capath=None, cadefault=False)
2020

2121
Open the URL *url*, which can be either a string or a
2222
:class:`Request` object.

Misc/NEWS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,9 @@ Tests
238238
Documentation
239239
-------------
240240

241+
- Issue #17977: The documentation for the cadefault argument's default value
242+
in urllib.request.urlopen() is fixed to match the code.
243+
241244
- Issue #15940: Specify effect of locale on time functions.
242245

243246
- Issue #6696: add documentation for the Profile objects, and improve

0 commit comments

Comments
 (0)