__bases__ shows base classes of classes, not objects. If try to do it with an object, it fails:
class A:
pass
class B(A):
pass
obj = B()
print(obj.__bases__)
output: AttributeError: 'B' object has no attribute '__bases__'
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
langolier42
1 month agoDamon54
9 months, 2 weeks agoseaverick
10 months agoangelika_az
2 years, 5 months ago