[Python-checkins] python/dist/src/Lib urllib.py,1.135.6.5,1.135.6.6

bcannon@users.sourceforge.net bcannon@users.sourceforge.net
Wed, 23 Apr 2003 19:46:37 -0700


Update of /cvsroot/python/python/dist/src/Lib
In directory sc8-pr-cvs1:/tmp/cvs-serv1714/Lib

Modified Files:
      Tag: release22-maint
	urllib.py 
Log Message:
Fix documentation errors in regards to urlretrieve() and local files.

Also fix typos in urllib lib doc.


Index: urllib.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/urllib.py,v
retrieving revision 1.135.6.5
retrieving revision 1.135.6.6
diff -C2 -d -r1.135.6.5 -r1.135.6.6
*** urllib.py	6 Oct 2002 03:24:29 -0000	1.135.6.5
--- urllib.py	24 Apr 2003 02:46:35 -0000	1.135.6.6
***************
*** 194,198 ****
      # 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."""
          url = unwrap(toBytes(url))
--- 194,198 ----
      # External interface
      def retrieve(self, url, filename=None, reporthook=None, data=None):
!         """retrieve(url) returns (filename, headers) for a local object
          or (tempfilename, headers) for a remote object."""
          url = unwrap(toBytes(url))