mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-05 01:16:21 +00:00
Mark MISSING as hashable to allow it to be used in dataclasses in 3.11
This commit is contained in:
@ -100,6 +100,9 @@ class _MissingSentinel:
|
||||
def __bool__(self):
|
||||
return False
|
||||
|
||||
def __hash__(self):
|
||||
return 0
|
||||
|
||||
def __repr__(self):
|
||||
return '...'
|
||||
|
||||
|
Reference in New Issue
Block a user