Why all the __double_underscored_vars__?

Zac Burns zac256 at gmail.com
Sun Aug 9 03:52:17 CEST 2009

As I understand it, the double underscores is to create a namespace
"reserved for python's internal use". That way python can add more
variables and methods in the future and as long as people respect the
namespace their code will not break with future revisions.

Zachary Burns
Aim - Zac256FL
Production Engineer (Digital Overlord)
Zindagi Games

More information about the Python-list mailing list