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