-
Notifications
You must be signed in to change notification settings - Fork 58
Open
Description
def __bool__(self):
return bool(self._d)should probably be rewritten as
def __bool__(self):
return bool(self._d) or bool(trace.default)to see if is_empty should follow a similar logic with
def is_empty(self):
return len(self) == 0rewritten as
def is_empty(self):
return len(self) == 0 and self.default is Nonebut I see it is used in bin() and check_boundaries() so not sure
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels