Skip to content

Commit

Permalink
Implement __eq__ for UninitializedAnnotation
Browse files Browse the repository at this point in the history
  • Loading branch information
twizmwazin committed Dec 19, 2024
1 parent f325b2c commit 7b717e1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions claripy/annotation.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,5 +139,8 @@ class UninitializedAnnotation(Annotation):
def __hash__(self):
return hash("uninitialized")

def __eq__(self, other):
return isinstance(other, UninitializedAnnotation)

def __repr__(self):
return "<UninitializedAnnotation>"

0 comments on commit 7b717e1

Please sign in to comment.