summaryrefslogtreecommitdiffstats
path: root/Lib/urllib.py
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2003-04-24 02:43:20 (GMT)
committerBrett Cannon <bcannon@gmail.com>2003-04-24 02:43:20 (GMT)
commit7d618c731c4505ab92f085f97faa475ac3ad72d4 (patch)
tree64a2af4c17950e5c0814776c6350303f802beef6 /Lib/urllib.py
parent317ad7a5eed5123027b19ee014a37509547f2520 (diff)
downloadcpython-7d618c731c4505ab92f085f97faa475ac3ad72d4.zip
cpython-7d618c731c4505ab92f085f97faa475ac3ad72d4.tar.gz
cpython-7d618c731c4505ab92f085f97faa475ac3ad72d4.tar.bz2
Fix docstring for URLOpener.retrieve() in regards to opening a local file
Diffstat (limited to 'Lib/urllib.py')
-rw-r--r--Lib/urllib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/urllib.py b/Lib/urllib.py
index f486aee..bd8347e 100644
--- a/Lib/urllib.py
+++ b/Lib/urllib.py
@@ -196,7 +196,7 @@ class URLopener:
# External interface
def retrieve(self, url, filename=None, reporthook=None, data=None):
- """retrieve(url) returns (filename, None) for a local object
+ """retrieve(url) returns (filename, headers) for a local object
or (tempfilename, headers) for a remote object."""
url = unwrap(toBytes(url))
if self.tempcache and url in self.tempcache: