diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2010-06-07 19:57:46 +0000 |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2010-06-07 19:57:46 +0000 |
commit | 046dd2b5f082e1f3975d7cea07826db45c72c259 (patch) | |
tree | f18019c72efc3d13f0609ee2f52a5d06162faf52 /Python/Python-ast.c | |
parent | 493fd252e4f7fd49dc2dc2923dbcc1dae9a23c9c (diff) | |
download | cpython-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.c | 2 |
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; |