visitor: do not call parent method
authorDmitry Selyutin <ghostmansd@gmail.com>
Wed, 28 Jun 2023 19:27:42 +0000 (22:27 +0300)
committerDmitry Selyutin <ghostmansd@gmail.com>
Wed, 28 Jun 2023 19:27:42 +0000 (22:27 +0300)
src/mdis/visitor.py

index d7422681592dfba7d4ba34c40c97dd292e567748..bb87fd6dbeec2d46bf24ed8355719037e9d31348 100644 (file)
@@ -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