From 7d618c731c4505ab92f085f97faa475ac3ad72d4 Mon Sep 17 00:00:00 2001 From: Brett Cannon Date: Thu, 24 Apr 2003 02:43:20 +0000 Subject: Fix docstring for URLOpener.retrieve() in regards to opening a local file --- Lib/urllib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit v0.12