diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2001-02-09 11:10:16 (GMT) |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2001-02-09 11:10:16 (GMT) |
commit | b08b2d316653bf22d39ad76814b5a0e7dad30c31 (patch) | |
tree | 004b23a8a68e8fa951c21aca3da4e71304fafb48 /Lib/sre.py | |
parent | be9b507bddf79fc98536dee2feaf05fcd4438196 (diff) | |
download | cpython-b08b2d316653bf22d39ad76814b5a0e7dad30c31.zip cpython-b08b2d316653bf22d39ad76814b5a0e7dad30c31.tar.gz cpython-b08b2d316653bf22d39ad76814b5a0e7dad30c31.tar.bz2 |
String method conversion.
Diffstat (limited to 'Lib/sre.py')
-rw-r--r-- | Lib/sre.py | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -17,8 +17,6 @@ import sre_compile import sre_parse -import string - # flags I = IGNORECASE = sre_compile.SRE_FLAG_IGNORECASE # ignore case L = LOCALE = sre_compile.SRE_FLAG_LOCALE # assume current 8-bit locale @@ -109,7 +107,7 @@ _MAXCACHE = 100 def _join(seq, sep): # internal: join into string having the same type as sep - return string.join(seq, sep[:0]) + return sep[:0].join(seq) def _compile(*key): # internal: compile pattern |