Mercurial > cpython-lru_cache-weakref
diff Python/ast.c @ 78842:8ff2f4634ed8
merge 3.2
| author | Benjamin Peterson <benjamin@python.org> |
|---|---|
| date | Sun, 02 Sep 2012 16:37:09 -0400 |
| parents | 58de275e9224 0c6a09b982d8 |
| children | 2c9f1a578861 |
line wrap: on
line diff
--- a/Python/ast.c Sun Sep 02 15:04:51 2012 -0400 +++ b/Python/ast.c Sun Sep 02 16:37:09 2012 -0400 @@ -545,9 +545,9 @@ } 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. */
