From: Dmitry Selyutin Date: Tue, 13 Jun 2023 20:37:49 +0000 (+0300) Subject: core: fix dispatcher argument name X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ebee035c06bea40608bdc60bd6b1ed5811745957;p=mdis.git core: fix dispatcher argument name --- 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):