mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Make reindent.py happy (convert everything to 4-space indents!).
This commit is contained in:
parent
2e6d25c5bb
commit
004d5e6880
70 changed files with 1215 additions and 1247 deletions
|
@ -351,7 +351,7 @@ for t in tests:
|
|||
# string), so we'll ignore patterns that feature it.
|
||||
|
||||
if pattern[:2] != '\\B' and pattern[-2:] != '\\B' \
|
||||
and result != None:
|
||||
and result != None:
|
||||
obj = re.compile(pattern)
|
||||
result = obj.search(s, result.start(0), result.end(0) + 1)
|
||||
if result == None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue