QuestionQ59

VerifiedObject-Oriented Programming

For a Python class, what is included in the _bases_ attribute?

Explanation

A class’s __bases__ attribute contains its direct base classes as class objects, typically in a tuple.

Community Discussion

No comments yet. Be the first to start the discussion!