Skip to content

Commit b710d7e

Browse files
committed
- Issue python#17977: The documentation for the cadefault argument's default value
in urllib.request.urlopen() is fixed to match the code.
2 parents cde88dc + d486707 commit b710d7e

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
@@ -296,6 +296,9 @@ Tests
296296
Documentation
297297
-------------
298298

299+
- Issue #17977: The documentation for the cadefault argument's default value
300+
in urllib.request.urlopen() is fixed to match the code.
301+
299302
- Issue #15940: Specify effect of locale on time functions.
300303

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

0 commit comments

Comments
 (0)