[Python-checkins] cpython (merge 3.2 -> default): merge 3.2

benjamin.peterson python-checkins at python.org
Sun Sep 2 22:37:19 CEST 2012


http://hg.python.org/cpython/rev/8ff2f4634ed8
changeset:   78842:8ff2f4634ed8
parent:      78840:58de275e9224
parent:      78841:0c6a09b982d8
user:        Benjamin Peterson <benjamin at python.org>
date:        Sun Sep 02 16:37:09 2012 -0400
summary:
  merge 3.2

files:
  Python/ast.c |  4 ++--
  1 files changed, 2 insertions(+), 2 deletions(-)


diff --git a/Python/ast.c b/Python/ast.c
--- a/Python/ast.c
+++ b/Python/ast.c
@@ -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. */

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list