Browse Source

merge 3.2

pull/224/head
Benjamin Peterson 14 years ago
parent
commit
d40528fe9a
  1. 4
      Python/ast.c

4
Python/ast.c

@ -545,9 +545,9 @@ init_normalization(struct compiling *c)
}
static identifier
new_identifier(const char* n, struct compiling *c)
new_identifier(const char *n, struct compiling *c)
{
PyObject* id = PyUnicode_DecodeUTF8(n, strlen(n), NULL);
PyObject *id = PyUnicode_DecodeUTF8(n, strlen(n), NULL);
if (!id)
return NULL;
/* PyUnicode_DecodeUTF8 should always return a ready string. */

Loading…
Cancel
Save