Fix utils.MISSING not evaluating to True in implicit bool contexts
This commit is contained in:
parent
3b6a2b9e85
commit
7b8db49efe
@ -83,6 +83,9 @@ class _MissingSentinel:
|
||||
def __eq__(self, other):
|
||||
return False
|
||||
|
||||
def __bool__(self):
|
||||
return False
|
||||
|
||||
def __repr__(self):
|
||||
return '...'
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user