summaryrefslogtreecommitdiff
path: root/Python/Python-ast.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2010-06-07 19:57:46 +0000
committerVictor Stinner <victor.stinner@haypocalc.com>2010-06-07 19:57:46 +0000
commit046dd2b5f082e1f3975d7cea07826db45c72c259 (patch)
treef18019c72efc3d13f0609ee2f52a5d06162faf52 /Python/Python-ast.c
parent493fd252e4f7fd49dc2dc2923dbcc1dae9a23c9c (diff)
downloadcpython-046dd2b5f082e1f3975d7cea07826db45c72c259.tar.gz
Issue #8848: U / U# formats of Py_BuildValue() are just alias to s / s#
Diffstat (limited to 'Python/Python-ast.c')
-rw-r--r--Python/Python-ast.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/Python-ast.c b/Python/Python-ast.c
index 05fa5416de..bedd7d7de7 100644
--- a/Python/Python-ast.c
+++ b/Python/Python-ast.c
@@ -527,7 +527,7 @@ static PyTypeObject* make_type(char *type, PyTypeObject* base, char**fields, int
}
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;