From 4e7785aa4fd8da93ca28c2e7a2b36a167d32b877 Mon Sep 17 00:00:00 2001 From: Anthony Baxter Date: Mon, 2 Aug 2004 11:08:15 +0000 Subject: fix for @decorators under a debug build. --- Python/compile.c | 1 + 1 file changed, 1 insertion(+) 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; -- cgit v0.12