Tuesday, 17 July 2018

Python __bases__ Attribute

Cited from the book "Python How to Program"

attribute (lines 33–34). Recall from Chapter 7 that each class contains special attributes,
including __bases__, which is a tuple that contains references to each of the class’s base
classes.

No comments:

Post a Comment