mirror of
https://github.com/davidhalter/parso.git
synced 2026-03-02 21:39:21 +08:00
Add 'continue' not supported inside 'finally' clause.
This commit is contained in:
@@ -174,8 +174,10 @@ class PEP8Normalizer(ErrorFinder):
|
||||
@contextmanager
|
||||
def visit_node(self, node):
|
||||
with super(PEP8Normalizer, self).visit_node(node):
|
||||
return self._visit_node(node)
|
||||
with self._visit_node(node):
|
||||
yield
|
||||
|
||||
@contextmanager
|
||||
def _visit_node(self, node):
|
||||
typ = node.type
|
||||
|
||||
|
||||
Reference in New Issue
Block a user