The __dict__ attribute
Modules, classes, and class instances all have __dict__ attributes that holds the namespace contents for that object.
last updated 3 years ago by effbot #
(An Unofficial) Python Reference Wiki"clearly marked experimental" The __dict__ attributeModules, classes, and class instances all have __dict__ attributes that holds the namespace contents for that object. last updated 3 years ago by effbot # |