Fix docstring for URLOpener.retrieve() in regards to opening a local file

This commit is contained in:
Brett Cannon 2003-04-24 02:43:20 +00:00
parent 317ad7a5ee
commit 7d618c731c
1 changed files with 1 additions and 1 deletions

View File

@ -196,7 +196,7 @@ def open_unknown_proxy(self, proxy, fullurl, data=None):
# 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: