summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/urllib.py2
1 files changed, 1 insertions, 1 deletions
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)