Skip to content
Commit a68d4d01 authored by Eric N. Vander Weele's avatar Eric N. Vander Weele Committed by Anthony Sottile
Browse files

processor: Catch SyntaxError also when generating tokens for a file

`tokenize.generate_tokens()` can also raise `SyntaxError` in addition to
`tokenize.TokenError`.
parent 40716454
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment