re.findall documentation wrong?
Antti Kaihola
akaihola at ambi-spam-me-not-tone.com
Fri May 23 15:30:59 EDT 2003
The current re module documentation says:
findall(pattern, string)
Return a list of all non-overlapping matches of pattern in string.
If one or more groups are present in the pattern, return a list of
groups; this will be a list of tuples if the pattern has more than
one group. Empty matches are included in the result. New in version
1.5.2.
However, re.findall() or re.compile(<regexp>).findall() refuse to return
lists of anything but strings.
-Antti
More information about the Python-list
mailing list