Y
Hacker News
new
|
ask
|
show
|
jobs
by
1718627440
433 days ago
Couldn't you use isinstance(), which would not be a hack?
1 comments
btown
432 days ago
isinstance only tells you which subclass, not whether that subclass overrides the superclass implementation!
link