summaryrefslogtreecommitdiffstats
path: root/Python/ast.c
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2012-09-02 20:37:09 (GMT)
committerBenjamin Peterson <benjamin@python.org>2012-09-02 20:37:09 (GMT)
commitd40528fe9a27c4656a2b3edeef2b71b3a5afe000 (patch)
tree2ea7b9b0d1bb610c4f31e2f318c805ef166c8bb3 /Python/ast.c
parentbd0df50fb6fd54efee84707e9e372b5e9133ce03 (diff)
parentc7dedb09453705210b3126ccc86c1df6f03fa8f3 (diff)
downloadcpython-d40528fe9a27c4656a2b3edeef2b71b3a5afe000.zip
cpython-d40528fe9a27c4656a2b3edeef2b71b3a5afe000.tar.gz
cpython-d40528fe9a27c4656a2b3edeef2b71b3a5afe000.tar.bz2
merge 3.2
Diffstat (limited to 'Python/ast.c')
-rw-r--r--Python/ast.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/ast.c b/Python/ast.c
index aca5b09..43c18f4 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. */