summaryrefslogtreecommitdiff
path: root/Lib/sre.py
diff options
context:
space:
mode:
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 8d03e921a9..859ff9e70d 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:])