diff --git a/decompiler/magic.py b/decompiler/magic.py index 209a681c..5df5089a 100644 --- a/decompiler/magic.py +++ b/decompiler/magic.py @@ -92,7 +92,7 @@ def __eq__(self, other): if not hasattr(other, "__name__"): return False if hasattr(other, "__module__"): - return self.__module__ == other.__module and self.__name == other.__name__ + return self.__module__ == other.__module__ and self.__name == other.__name__ else: return self.__module__ + "." + self.__name__ == other.__name__