__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__'
This section is not available anymore. Please use the main Exam Page.PCAP Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
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
6 months agoDamon54
1 year, 2 months agoseaverick
1 year, 2 months agoangelika_az
2 years, 10 months ago