summaryrefslogtreecommitdiffstats
path: root/Doc/library/urllib.request.rst
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2013-05-14 15:35:16 (GMT)
committerBarry Warsaw <barry@python.org>2013-05-14 15:35:16 (GMT)
commitd486707d2e36f3141da3a3845066e7dabfd94198 (patch)
tree83940fc3e2176c987f0f7d2d00d3d3fd8d901434 /Doc/library/urllib.request.rst
parentdedac52731bd4085a71c0010454c9804b15be80f (diff)
downloadcpython-d486707d2e36f3141da3a3845066e7dabfd94198.zip
cpython-d486707d2e36f3141da3a3845066e7dabfd94198.tar.gz
cpython-d486707d2e36f3141da3a3845066e7dabfd94198.tar.bz2
- Issue #17977: The documentation for the cadefault argument's default value
in urllib.request.urlopen() is fixed to match the code.
Diffstat (limited to 'Doc/library/urllib.request.rst')
-rw-r--r--Doc/library/urllib.request.rst2
1 files changed, 1 insertions, 1 deletions
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.