summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorAnthony Baxter <anthonybaxter@gmail.com>2004-08-02 11:08:15 (GMT)
committerAnthony Baxter <anthonybaxter@gmail.com>2004-08-02 11:08:15 (GMT)
commit4e7785aa4fd8da93ca28c2e7a2b36a167d32b877 (patch)
treeb41708bea72ee043ce061acc37d90211bdb580a8 /Python
parent829d6c41382aef14a6d82ae242c404c01ede7c8e (diff)
downloadcpython-4e7785aa4fd8da93ca28c2e7a2b36a167d32b877.zip
cpython-4e7785aa4fd8da93ca28c2e7a2b36a167d32b877.tar.gz
cpython-4e7785aa4fd8da93ca28c2e7a2b36a167d32b877.tar.bz2
fix for @decorators under a debug build.
Diffstat (limited to 'Python')
-rw-r--r--Python/compile.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/compile.c b/Python/compile.c
index 337cc2e..0b5ba6c 100644
--- a/Python/compile.c
+++ b/Python/compile.c
@@ -4025,6 +4025,7 @@ com_decorator_name(struct compiling *c, node *n)
varname = CHILD(n, 0);
REQ(varname, NAME);
com_addop_varname(c, VAR_LOAD, STR(varname));
+ com_push(c, 1);
for (i = 1; i < nch; i += 2) {
node *attrname;