summaryrefslogtreecommitdiffstats
path: root/Python/compile.c
diff options
context:
space:
mode:
authorSenthil Kumaran <senthil@uthcode.com>2011-06-20 00:50:53 (GMT)
committerSenthil Kumaran <senthil@uthcode.com>2011-06-20 00:50:53 (GMT)
commit14830dc5acc47d7bc2f22f89dad5ae0fdcec199d (patch)
tree9b23bac0df174fafc0206ae2ac589f1e90949fa9 /Python/compile.c
parentdfb524829cc9602dc92e825457a8804a441507af (diff)
parent4092e68396e861ca57f1a5761e8a60d5ce300877 (diff)
downloadcpython-14830dc5acc47d7bc2f22f89dad5ae0fdcec199d.zip
cpython-14830dc5acc47d7bc2f22f89dad5ae0fdcec199d.tar.gz
cpython-14830dc5acc47d7bc2f22f89dad5ae0fdcec199d.tar.bz2
merge heads
Diffstat (limited to 'Python/compile.c')
-rw-r--r--Python/compile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/compile.c b/Python/compile.c
index b655c25..567b230 100644
--- a/Python/compile.c
+++ b/Python/compile.c
@@ -1566,7 +1566,7 @@ compiler_class(struct compiler *c, stmt_ty s)
return 0;
}
/* return the (empty) __class__ cell */
- str = PyUnicode_InternFromString("__class__");
+ str = PyUnicode_InternFromString("@__class__");
if (str == NULL) {
compiler_exit_scope(c);
return 0;