commit | 065efc3072c244ba34ce521ba0edaa4168fa8953 | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@gmail.com> | Tue Feb 18 22:07:56 2014 +0100 |
committer | Victor Stinner <victor.stinner@gmail.com> | Tue Feb 18 22:07:56 2014 +0100 |
tree | b8900d611220a15ed2549af6b082d508c01b28bd | |
parent | 5f47ac2aaab2a4f23897a680ed264e0ae2032b1c [diff] [blame] |
Issue #20625: Fix compilation issue
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 @@ 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) {