Skip to content

Commit

Permalink
edit for selement errors
Browse files Browse the repository at this point in the history
  • Loading branch information
HMiry committed Jan 18, 2024
1 parent efc0fdf commit c07ab92
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions byron/classes/selement.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit c07ab92

Please sign in to comment.