Y
Hacker News
new
|
ask
|
show
|
jobs
by
maweki
1025 days ago
Especially since == can be overwritten, while 'is' can not.
1 comments
kstrauser
1025 days ago
That's right. Any class can define its own __eq__ method.
link