diff options
author | Anthony Baxter <anthonybaxter@gmail.com> | 2004-08-02 11:08:15 (GMT) |
---|---|---|
committer | Anthony Baxter <anthonybaxter@gmail.com> | 2004-08-02 11:08:15 (GMT) |
commit | 4e7785aa4fd8da93ca28c2e7a2b36a167d32b877 (patch) | |
tree | b41708bea72ee043ce061acc37d90211bdb580a8 /Python | |
parent | 829d6c41382aef14a6d82ae242c404c01ede7c8e (diff) | |
download | cpython-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.c | 1 |
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; |