Commit 7d618c73 authored by Brett Cannon's avatar Brett Cannon

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

parent 317ad7a5
......@@ -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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment