summaryrefslogtreecommitdiff
path: root/Python/import.c
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2011-06-19 19:42:22 -0500
committerBenjamin Peterson <benjamin@python.org>2011-06-19 19:42:22 -0500
commitf5ff22329b3a4838054dfadfad74fc5a0519cbb2 (patch)
treecbf644106089a69d028c954e246dab129b3d02cd /Python/import.c
parent019d0f27a3fc8d4daa7caea8c041cd26d5873950 (diff)
downloadcpython-git-f5ff22329b3a4838054dfadfad74fc5a0519cbb2.tar.gz
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)
Diffstat (limited to 'Python/import.c')
0 files changed, 0 insertions, 0 deletions