diff --git a/byron/classes/selement.py b/byron/classes/selement.py index f0826f5..65d229b 100644 --- a/byron/classes/selement.py +++ b/byron/classes/selement.py @@ -23,7 +23,7 @@ # =[ HISTORY ]=============================================================== # v1 / June 2023 / Squillero (GX) - +"""THE FIRST ONE IS FOR THE DEFINING CLASSES AND THE SECOND ONE IS FOR THE DEFINING METACLASS. """ __all__ = ['SElement', 'SElementMeta'] from typing import Callable, Sequence, Optional @@ -164,7 +164,8 @@ def __eq__(self, other): return id(self) == id(other) def __hash__(self): - return id() + return id(self) + #todo shouldnt this be self?? @classmethod def add_node_check(cls, function: Callable) -> None: