Tuesday, 17 July 2018

Python __dict__ Attribute

Cited from the book "Python How to Program"

Recall that an object of a class has a namespace that contains identifiers and their values. Attribute __dict__ contains this information for each object.

No comments:

Post a Comment