mirror of
https://github.com/python/cpython.git
synced 2025-09-28 11:15:17 +00:00
merge 3.2
This commit is contained in:
commit
d40528fe9a
1 changed files with 2 additions and 2 deletions
|
@ -545,9 +545,9 @@ init_normalization(struct compiling *c)
|
||||||
}
|
}
|
||||||
|
|
||||||
static identifier
|
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)
|
if (!id)
|
||||||
return NULL;
|
return NULL;
|
||||||
/* PyUnicode_DecodeUTF8 should always return a ready string. */
|
/* PyUnicode_DecodeUTF8 should always return a ready string. */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue