mirror of
https://github.com/python/cpython.git
synced 2025-11-01 06:01:29 +00:00
fix for @decorators under a debug build.
This commit is contained in:
parent
829d6c4138
commit
4e7785aa4f
1 changed files with 1 additions and 0 deletions
|
|
@ -4025,6 +4025,7 @@ com_decorator_name(struct compiling *c, node *n)
|
||||||
varname = CHILD(n, 0);
|
varname = CHILD(n, 0);
|
||||||
REQ(varname, NAME);
|
REQ(varname, NAME);
|
||||||
com_addop_varname(c, VAR_LOAD, STR(varname));
|
com_addop_varname(c, VAR_LOAD, STR(varname));
|
||||||
|
com_push(c, 1);
|
||||||
|
|
||||||
for (i = 1; i < nch; i += 2) {
|
for (i = 1; i < nch; i += 2) {
|
||||||
node *attrname;
|
node *attrname;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue