summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorSjoerd Mullender <sjoerd@acm.org>2000-08-25 11:23:36 (GMT)
committerSjoerd Mullender <sjoerd@acm.org>2000-08-25 11:23:36 (GMT)
commitd7b86f00563e5039bf527240f15936b47923fff4 (patch)
treec819ea4864207dafe51025f6527069ec56617f51 /Lib
parent1de2a79a481d4d9e449734ab51e08b30549cf07e (diff)
downloadcpython-d7b86f00563e5039bf527240f15936b47923fff4.zip
cpython-d7b86f00563e5039bf527240f15936b47923fff4.tar.gz
cpython-d7b86f00563e5039bf527240f15936b47923fff4.tar.bz2
Pass data on to retrieve method.
Don't people *test* their changes?
Diffstat (limited to 'Lib')
-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)