summaryrefslogtreecommitdiff
path: root/Python
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2012-09-02 16:37:09 -0400
committerBenjamin Peterson <benjamin@python.org>2012-09-02 16:37:09 -0400
commit4f82c325b613f31bfc06e99753f29b10a9318d3b (patch)
tree5fa52c0609fd4b0ac09fe0a2974b87e5e94f6aeb /Python
parent512ed343605bbc131ca5638584ea062dac686fb2 (diff)
parent7adf89dcd555f797b13a0ef01ef7fd575049bc6f (diff)
downloadcpython-4f82c325b613f31bfc06e99753f29b10a9318d3b.tar.gz
merge 3.2
Diffstat (limited to 'Python')
-rw-r--r--Python/ast.c4
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. */