Minor code clean up and improvements in the re module.

This commit is contained in:
Serhiy Storchaka 2014-11-11 21:13:28 +02:00
parent 9a64ccb997
commit ab14088141
4 changed files with 13 additions and 17 deletions

View file

@ -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