diff Python/Python-ast.c @ 62155:600c23127207

Issue #8848: U / U# formats of Py_BuildValue() are just alias to s / s#
author Victor Stinner <victor.stinner@haypocalc.com>
date Mon, 07 Jun 2010 19:57:46 +0000
parents d8c5e38515b6
children 3cf35231f7d3
line wrap: on
line diff
--- a/Python/Python-ast.c	Mon Jun 07 18:47:09 2010 +0000
+++ b/Python/Python-ast.c	Mon Jun 07 19:57:46 2010 +0000
@@ -527,7 +527,7 @@
         }
         PyTuple_SET_ITEM(fnames, i, field);
     }
-    result = PyObject_CallFunction((PyObject*)&PyType_Type, "U(O){sOss}",
+    result = PyObject_CallFunction((PyObject*)&PyType_Type, "s(O){sOss}",
                     type, base, "_fields", fnames, "__module__", "_ast");
     Py_DECREF(fnames);
     return (PyTypeObject*)result;