diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2014-11-11 19:13:28 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2014-11-11 19:13:28 (GMT) |
commit | ab14088141ab749763e35b7a49e79c368940e12d (patch) | |
tree | 0369f9a136bfea659c24b0cf9fedf2ee98272308 /Lib/re.py | |
parent | 9a64ccb997a99f85c2538047823c7478bfcff6ed (diff) | |
download | cpython-ab14088141ab749763e35b7a49e79c368940e12d.zip cpython-ab14088141ab749763e35b7a49e79c368940e12d.tar.gz cpython-ab14088141ab749763e35b7a49e79c368940e12d.tar.bz2 |
Minor code clean up and improvements in the re module.
Diffstat (limited to 'Lib/re.py')
-rw-r--r-- | Lib/re.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -363,7 +363,7 @@ class Scanner: append = result.append match = self.scanner.scanner(string).match i = 0 - while 1: + while True: m = match() if not m: break |