diff options
| author | Benjamin Peterson <benjamin@python.org> | 2012-09-02 16:37:09 -0400 |
|---|---|---|
| committer | Benjamin Peterson <benjamin@python.org> | 2012-09-02 16:37:09 -0400 |
| commit | 4f82c325b613f31bfc06e99753f29b10a9318d3b (patch) | |
| tree | 5fa52c0609fd4b0ac09fe0a2974b87e5e94f6aeb /Python | |
| parent | 512ed343605bbc131ca5638584ea062dac686fb2 (diff) | |
| parent | 7adf89dcd555f797b13a0ef01ef7fd575049bc6f (diff) | |
| download | cpython-4f82c325b613f31bfc06e99753f29b10a9318d3b.tar.gz | |
merge 3.2
Diffstat (limited to 'Python')
| -rw-r--r-- | Python/ast.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/ast.c b/Python/ast.c index aca5b09f03..43c18f4aa7 100644 --- a/Python/ast.c +++ b/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. */ |
