mirror of https://github.com/python/cpython
Null merge.
This commit is contained in:
commit
a0b7e9c74c
|
@ -1611,7 +1611,7 @@ class IndentSearcher(object):
|
|||
try:
|
||||
try:
|
||||
_tokenize.tokenize(self.readline, self.tokeneater)
|
||||
except _tokenize.TokenError:
|
||||
except (_tokenize.TokenError, SyntaxError):
|
||||
# since we cut off the tokenizer early, we can trigger
|
||||
# spurious errors
|
||||
pass
|
||||
|
|
Loading…
Reference in New Issue