From: Dmitry Selyutin Date: Wed, 28 Jun 2023 19:27:42 +0000 (+0300) Subject: visitor: do not call parent method X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=804a67dec2fc4aa4cc3abe8e35069ea6d12c44df;p=mdis.git visitor: do not call parent method --- diff --git a/src/mdis/visitor.py b/src/mdis/visitor.py index d742268..bb87fd6 100644 --- a/src/mdis/visitor.py +++ b/src/mdis/visitor.py @@ -23,4 +23,4 @@ class ContextVisitor(Visitor): @dispatcher.Hook(object) @contextlib.contextmanager def dispatch_object(self, node, *arguments): - yield super().__call__(node, *arguments) + yield node