summaryrefslogtreecommitdiffstats
path: root/Lib/sre.py
diff options
context:
space:
mode:
authorFredrik Lundh <fredrik@pythonware.com>2001-01-16 07:37:30 (GMT)
committerFredrik Lundh <fredrik@pythonware.com>2001-01-16 07:37:30 (GMT)
commit1c5aa6901fb13f8112ead1786868f0f8ed4c9e2d (patch)
tree52a6a1c66be3f2ea6c8f73e13d87412fe7d8bea7 /Lib/sre.py
parentdfb673b45730635a386ceb3e2405bf2809a2e40c (diff)
downloadcpython-1c5aa6901fb13f8112ead1786868f0f8ed4c9e2d.zip
cpython-1c5aa6901fb13f8112ead1786868f0f8ed4c9e2d.tar.gz
cpython-1c5aa6901fb13f8112ead1786868f0f8ed4c9e2d.tar.bz2
bumped SRE version number to 2.1. cleaned up and added 1.5.2
compatibility patches.
Diffstat (limited to 'Lib/sre.py')
-rw-r--r--Lib/sre.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/sre.py b/Lib/sre.py
index 8d03e92..859ff9e 100644
--- a/Lib/sre.py
+++ b/Lib/sre.py
@@ -181,7 +181,7 @@ def _split(pattern, string, maxsplit=0):
continue
append(string[i:b])
if g and b != e:
- extend(m.groups())
+ extend(list(m.groups()))
i = e
n = n + 1
append(string[i:])