projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f47ac2
)
Issue #20625: Fix compilation issue
author
Victor Stinner
<victor.stinner@gmail.com>
Tue, 18 Feb 2014 21:07:56 +0000
(22:07 +0100)
committer
Victor Stinner
<victor.stinner@gmail.com>
Tue, 18 Feb 2014 21:07:56 +0000
(22:07 +0100)
Python/compile.c
patch
|
blob
|
history
diff --git
a/Python/compile.c
b/Python/compile.c
index 57a232919d37b2041dac0a430139a81a5a56aba0..9978eb3a1df5ff07e1ba1509663a8a1e28351bb7 100644
(file)
--- 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) {