[Python-checkins] CVS: python/dist/src/Lib urllib.py,1.102,1.103
Sjoerd Mullender
python-dev@python.org
Fri, 25 Aug 2000 04:23:43 -0700
Update of /cvsroot/python/python/dist/src/Lib
In directory slayer.i.sourceforge.net:/tmp/cvs-serv25778
Modified Files:
urllib.py
Log Message:
Pass data on to retrieve method.
Don't people *test* their changes?
Index: urllib.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/urllib.py,v
retrieving revision 1.102
retrieving revision 1.103
diff -C2 -r1.102 -r1.103
*** urllib.py 2000/08/24 16:18:04 1.102
--- urllib.py 2000/08/25 11:23:36 1.103
***************
*** 173,177 ****
# External interface
! def retrieve(self, url, filename=None, reporthook=None):
"""retrieve(url) returns (filename, None) for a local object
or (tempfilename, headers) for a remote object."""
--- 173,177 ----
# External interface
! 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."""