[Python-checkins] CVS: python/dist/src/Lib nturl2path.py,1.5,1.6 reconvert.py,1.2,1.3

Guido van Rossum python-dev@python.org
Tue, 30 May 2000 06:25:37 -0700


Update of /cvsroot/python/python/dist/src/Lib
In directory slayer.i.sourceforge.net:/tmp/cvs-serv3536

Modified Files:
	nturl2path.py reconvert.py 
Log Message:
Add 'r' to docstrings to avoid expanded backslash escapes.  (Ka-Ping Yee)

Index: nturl2path.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/nturl2path.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** nturl2path.py	2000/02/04 15:10:33	1.5
--- nturl2path.py	2000/05/30 13:25:34	1.6
***************
*** 2,6 ****
  
  def url2pathname(url):
! 	""" Convert a URL to a DOS path...
  		///C|/foo/bar/spam.foo
  
--- 2,7 ----
  
  def url2pathname(url):
! 	r"""Convert a URL to a DOS path.
! 
  		///C|/foo/bar/spam.foo
  
***************
*** 33,37 ****
  
  def pathname2url(p):
! 	""" Convert a DOS path name to a file url...
  		C:\foo\bar\spam.foo
  
--- 34,39 ----
  
  def pathname2url(p):
! 	r"""Convert a DOS path name to a file url.
! 
  		C:\foo\bar\spam.foo
  

Index: reconvert.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/reconvert.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** reconvert.py	1998/03/26 21:12:47	1.2
--- reconvert.py	2000/05/30 13:25:35	1.3
***************
*** 1,5 ****
  #! /usr/bin/env python1.5
  
! """Convert old ("regex") regular expressions to new syntax ("re").
  
  When imported as a module, there are two functions, with their own
--- 1,5 ----
  #! /usr/bin/env python1.5
  
! r"""Convert old ("regex") regular expressions to new syntax ("re").
  
  When imported as a module, there are two functions, with their own