Certified Associate in Python Programming (PCAP) — Question 80

A property that stores information about a given class's super-classes is named:

Answer options

Correct answer: D

Explanation

The correct answer is __bases__, which is the property used to retrieve the base classes of a class in Python. The other options, __upper__, __super__, and __ancestors__, do not exist as properties that store super-class information.