(An Unofficial) Python Reference Wiki

"clearly marked experimental"

The __dict__ attribute

Modules, classes, and class instances all have __dict__ attributes that holds the namespace contents for that object.