Mark MISSING as hashable to allow it to be used in dataclasses in 3.11

This commit is contained in:
Rapptz 2022-03-14 05:45:58 -04:00
parent abcec5da9d
commit aa18e573c3

View File

@ -100,6 +100,9 @@ class _MissingSentinel:
def __bool__(self):
return False
def __hash__(self):
return 0
def __repr__(self):
return '...'