mirror of
https://github.com/python/cpython.git
synced 2025-10-17 04:08:28 +00:00
Minor code clean up and improvements in the re module.
This commit is contained in:
parent
9a64ccb997
commit
ab14088141
4 changed files with 13 additions and 17 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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue