Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4e7785a

Browse files
committed
fix for @decorators under a debug build.
1 parent 829d6c4 commit 4e7785a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Python/compile.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4025,6 +4025,7 @@ com_decorator_name(struct compiling *c, node *n)
40254025
varname = CHILD(n, 0);
40264026
REQ(varname, NAME);
40274027
com_addop_varname(c, VAR_LOAD, STR(varname));
4028+
com_push(c, 1);
40284029

40294030
for (i = 1; i < nch; i += 2) {
40304031
node *attrname;

0 commit comments

Comments
 (0)