[Python-checkins] CVS: python/dist/src/Lib sre.py,1.27,1.28

Eric S. Raymond esr@users.sourceforge.net
Fri, 09 Feb 2001 03:05:12 -0800


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

Modified Files:
	sre.py 
Log Message:
String method conversion.


Index: sre.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/sre.py,v
retrieving revision 1.27
retrieving revision 1.28
diff -C2 -r1.27 -r1.28
*** sre.py	2001/01/16 07:37:30	1.27
--- sre.py	2001/02/09 11:05:10	1.28
***************
*** 18,23 ****
  import sre_parse
  
- import string
- 
  # flags
  I = IGNORECASE = sre_compile.SRE_FLAG_IGNORECASE # ignore case
--- 18,21 ----
***************
*** 110,114 ****
  def _join(seq, sep):
      # internal: join into string having the same type as sep
!     return string.join(seq, sep[:0])
  
  def _compile(*key):
--- 108,112 ----
  def _join(seq, sep):
      # internal: join into string having the same type as sep
!     return sep[:0].join(seq)
  
  def _compile(*key):