Skip to content
This repository was archived by the owner on Jul 5, 2023. It is now read-only.

Commit f5c039d

Browse files
author
Guido van Rossum
committed
More C89
1 parent 14f8d05 commit f5c039d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ast3/Python/ast.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -699,6 +699,7 @@ new_identifier(const char *n, struct compiling *c)
699699
if (!PyUnicode_IS_ASCII(id)) {
700700
PyObject *id2;
701701
PyObject *form;
702+
PyObject *args[2];
702703
_Py_IDENTIFIER(NFKC);
703704
if (!c->c_normalize && !init_normalization(c)) {
704705
Py_DECREF(id);
@@ -709,7 +710,8 @@ new_identifier(const char *n, struct compiling *c)
709710
Py_DECREF(id);
710711
return NULL;
711712
}
712-
PyObject *args[2] = {form, id};
713+
args[0] = form;
714+
args[1] = id;
713715
id2 = _PyObject_FastCall(c->c_normalize, args, 2);
714716
Py_DECREF(id);
715717
if (!id2)

0 commit comments

Comments
 (0)