diff --git a/Lib/urllib.py b/Lib/urllib.py index 7275a5a798c..2c6d8787930 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)