From ebee035c06bea40608bdc60bd6b1ed5811745957 Mon Sep 17 00:00:00 2001 From: Dmitry Selyutin Date: Tue, 13 Jun 2023 23:37:49 +0300 Subject: [PATCH] core: fix dispatcher argument name --- src/mdis/core.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mdis/core.py b/src/mdis/core.py index d1847d8..0af0e53 100644 --- a/src/mdis/core.py +++ b/src/mdis/core.py @@ -40,8 +40,8 @@ class CallHook(object): def call(self): return self.__call - def __call__(self, visitor, instance): - return self.__call(visitor, instance) + def __call__(self, dispatcher, instance): + return self.__call(dispatcher, instance) def hook(*typeids): -- 2.30.2