Skip to content

Commit

Permalink
🐛 [Bugfix] Make MissingSentinel hashable to work with Python 3.11 dat…
Browse files Browse the repository at this point in the history
…aclasses

Fixes: #8
Signed-off-by: Fox_white <[email protected]>
  • Loading branch information
foxwhite25 committed Jul 28, 2023
1 parent 758a679 commit 396f181
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions qq/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,9 @@ def __eq__(self, other):
def __bool__(self):
return False

def __hash__(self):
return 0

def __repr__(self):
return '...'

Expand Down

0 comments on commit 396f181

Please sign in to comment.