diff options
author | Guido van Rossum <guido@python.org> | 2002-10-14 12:22:17 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2002-10-14 12:22:17 (GMT) |
commit | 0d976551fba362c2dd7fe19bfc97f48e25161b46 (patch) | |
tree | 9af68447ea6fcbc5be2a71865cc9b3bb27272c41 /Lib | |
parent | 78cc051617f741295748e39768fa50c3431c1bd7 (diff) | |
download | cpython-0d976551fba362c2dd7fe19bfc97f48e25161b46.zip cpython-0d976551fba362c2dd7fe19bfc97f48e25161b46.tar.gz cpython-0d976551fba362c2dd7fe19bfc97f48e25161b46.tar.bz2 |
Add finditer to __all__ (when defining it at all).
SF bug 585882. Will forward-port.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/sre.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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. |