diff options
author | Sjoerd Mullender <sjoerd@acm.org> | 2000-08-25 11:23:36 (GMT) |
---|---|---|
committer | Sjoerd Mullender <sjoerd@acm.org> | 2000-08-25 11:23:36 (GMT) |
commit | d7b86f00563e5039bf527240f15936b47923fff4 (patch) | |
tree | c819ea4864207dafe51025f6527069ec56617f51 /Lib/urllib.py | |
parent | 1de2a79a481d4d9e449734ab51e08b30549cf07e (diff) | |
download | cpython-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/urllib.py')
-rw-r--r-- | Lib/urllib.py | 2 |
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) |