diff options
author | Fredrik Lundh <fredrik@pythonware.com> | 2001-10-28 20:15:40 (GMT) |
---|---|---|
committer | Fredrik Lundh <fredrik@pythonware.com> | 2001-10-28 20:15:40 (GMT) |
commit | b7747e2a2dee73fd076359f8001b9f0a300cbbf8 (patch) | |
tree | e8d9fe1cce6fe2f7416951871f530260b0b291c3 /Lib/sre.py | |
parent | ca6dfa55c50621b78366685d71041c0414c1189c (diff) | |
download | cpython-b7747e2a2dee73fd076359f8001b9f0a300cbbf8.zip cpython-b7747e2a2dee73fd076359f8001b9f0a300cbbf8.tar.gz cpython-b7747e2a2dee73fd076359f8001b9f0a300cbbf8.tar.bz2 |
added finditer sanity check
Diffstat (limited to 'Lib/sre.py')
-rw-r--r-- | Lib/sre.py | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -167,9 +167,8 @@ def findall(pattern, string): if sys.hexversion >= 0x02020000: def finditer(pattern, string): - """Return an iterator over all non-overlapping matches in - the string. For each match, the iterator returns a match - object. + """Return an iterator over all non-overlapping matches in the + string. For each match, the iterator returns a match object. Empty matches are included in the result.""" return _compile(pattern, 0).finditer(string) |