summaryrefslogtreecommitdiff
path: root/Python
diff options
context:
space:
mode:
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 337cc2ef02..0b5ba6cd38 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;