Fix utils.MISSING not evaluating to True in implicit bool contexts

This commit is contained in:
Rapptz 2021-04-30 01:04:18 -04:00
parent 3b6a2b9e85
commit 7b8db49efe

View File

@ -83,6 +83,9 @@ class _MissingSentinel:
def __eq__(self, other):
return False
def __bool__(self):
return False
def __repr__(self):
return '...'