forked from python/mypy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor re-parsing into recursive func (python#15678)
The reparse function could be expanded upon to tweak the source and parse it again to handle any number of exceptions bases on options. This formulation also preserves the original exception and raises it if the source can't eventually be successfully parsed.
- Loading branch information
1 parent
51cc10b
commit a6cace8
Showing
1 changed file
with
43 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters