From 804a67dec2fc4aa4cc3abe8e35069ea6d12c44df Mon Sep 17 00:00:00 2001 From: Dmitry Selyutin Date: Wed, 28 Jun 2023 22:27:42 +0300 Subject: [PATCH] visitor: do not call parent method --- src/mdis/visitor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2