From d7b86f00563e5039bf527240f15936b47923fff4 Mon Sep 17 00:00:00 2001 From: Sjoerd Mullender Date: Fri, 25 Aug 2000 11:23:36 +0000 Subject: Pass data on to retrieve method. Don't people *test* their changes? --- Lib/urllib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/urllib.py b/Lib/urllib.py index 7275a5a..2c6d878 100644 --- a/Lib/urllib.py +++ b/Lib/urllib.py @@ -172,7 +172,7 @@ class URLopener: raise IOError, ('url error', 'unknown url type', type) # External interface - def retrieve(self, url, filename=None, reporthook=None): + def retrieve(self, url, filename=None, reporthook=None, data=None): """retrieve(url) returns (filename, None) for a local object or (tempfilename, headers) for a remote object.""" url = unwrap(url) -- cgit v0.12