commit | ab14088141ab749763e35b7a49e79c368940e12d | [log] [tgz] |
---|---|---|
author | Serhiy Storchaka <storchaka@gmail.com> | Tue Nov 11 21:13:28 2014 +0200 |
committer | Serhiy Storchaka <storchaka@gmail.com> | Tue Nov 11 21:13:28 2014 +0200 |
tree | 0369f9a136bfea659c24b0cf9fedf2ee98272308 | |
parent | 9a64ccb997a99f85c2538047823c7478bfcff6ed [diff] [blame] |
Minor code clean up and improvements in the re module.
diff --git a/Lib/re.py b/Lib/re.py index a4de5cc..788fa6b 100644 --- a/Lib/re.py +++ b/Lib/re.py
@@ -363,7 +363,7 @@ append = result.append match = self.scanner.scanner(string).match i = 0 - while 1: + while True: m = match() if not m: break