summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Lib/sre.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/sre.py b/Lib/sre.py
index e8582b7928..7e107a68fd 100644
--- a/Lib/sre.py
+++ b/Lib/sre.py
@@ -166,6 +166,7 @@ def findall(pattern, string):
return _compile(pattern, 0).findall(string)
if sys.hexversion >= 0x02020000:
+ __all__.append("finditer")
def finditer(pattern, string):
"""Return an iterator over all non-overlapping matches in the
string. For each match, the iterator returns a match object.