|
|
|
|
|
by nomel
1020 days ago
|
|
I try to avoid statistical programming, preferring determinism, driven by intent. ;) So, I use "is" since "is" is not a context dependent concept, like equals is. I've seen this once in the wild, and it made sense for its use: def __eq__(self, other):
return bool(self) == bool(other)
|
|