diff options
author | Brett Cannon <bcannon@gmail.com> | 2003-04-24 02:43:20 (GMT) |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2003-04-24 02:43:20 (GMT) |
commit | 7d618c731c4505ab92f085f97faa475ac3ad72d4 (patch) | |
tree | 64a2af4c17950e5c0814776c6350303f802beef6 | |
parent | 317ad7a5eed5123027b19ee014a37509547f2520 (diff) | |
download | cpython-7d618c731c4505ab92f085f97faa475ac3ad72d4.zip cpython-7d618c731c4505ab92f085f97faa475ac3ad72d4.tar.gz cpython-7d618c731c4505ab92f085f97faa475ac3ad72d4.tar.bz2 |
Fix docstring for URLOpener.retrieve() in regards to opening a local file
-rw-r--r-- | Lib/urllib.py | 2 |
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: |