commit | f5ff22329b3a4838054dfadfad74fc5a0519cbb2 | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Sun Jun 19 19:42:22 2011 -0500 |
committer | Benjamin Peterson <benjamin@python.org> | Sun Jun 19 19:42:22 2011 -0500 |
tree | cbf644106089a69d028c954e246dab129b3d02cd | |
parent | 019d0f27a3fc8d4daa7caea8c041cd26d5873950 [diff] |
use a invalid name for the __class__ closure for super() (closes #12370) This prevents the assignment of __class__ in the class body from breaking super. (Although a determined person could do locals()["@__class__"] = 4)