summaryrefslogtreecommitdiffstats
path: root/Lib/sre.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/sre.py')
-rw-r--r--Lib/sre.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/Lib/sre.py b/Lib/sre.py
index 88b4fab..e8582b7 100644
--- a/Lib/sre.py
+++ b/Lib/sre.py
@@ -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)