diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2014-02-18 21:07:56 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2014-02-18 21:07:56 (GMT) |
commit | 6acc5e1330239cd721205b310dfddec1eb6425c1 (patch) | |
tree | 3276ad2e47a3a0eea76e252f6d055d55146bd16a /Python | |
parent | dc87052c0cf2afcdbd8ecbd60077a863b295b719 (diff) | |
download | cpython-6acc5e1330239cd721205b310dfddec1eb6425c1.zip cpython-6acc5e1330239cd721205b310dfddec1eb6425c1.tar.gz cpython-6acc5e1330239cd721205b310dfddec1eb6425c1.tar.bz2 |
Issue #20625: Fix compilation issue
Diffstat (limited to 'Python')
-rw-r--r-- | Python/compile.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Python/compile.c b/Python/compile.c index 57a2329..9978eb3 100644 --- a/Python/compile.c +++ b/Python/compile.c @@ -1532,8 +1532,9 @@ compiler_visit_argannotation(struct compiler *c, identifier id, expr_ty annotation, PyObject *names) { if (annotation) { + PyObject *mangled; VISIT(c, expr, annotation); - PyObject *mangled = _Py_Mangle(c->u->u_private, id); + mangled = _Py_Mangle(c->u->u_private, id); if (!mangled) return -1; if (PyList_Append(names, mangled) < 0) { |