summaryrefslogtreecommitdiffstats
path: root/Parser/asdl_c.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2010-06-07 22:24:18 (GMT)
committerBenjamin Peterson <benjamin@python.org>2010-06-07 22:24:18 (GMT)
commit5b92772e242f3302f11b1d6e3d451370b98e01d5 (patch)
tree882916ff9a5171eec7080861e4b7dc99f17a2962 /Parser/asdl_c.py
parentc34ce23f6ef763fbdbd8dda046887ba33d7e738e (diff)
downloadcpython-5b92772e242f3302f11b1d6e3d451370b98e01d5.zip
cpython-5b92772e242f3302f11b1d6e3d451370b98e01d5.tar.gz
cpython-5b92772e242f3302f11b1d6e3d451370b98e01d5.tar.bz2
use the 's' format code instead of 'U'
Diffstat (limited to 'Parser/asdl_c.py')
-rwxr-xr-xParser/asdl_c.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Parser/asdl_c.py b/Parser/asdl_c.py
index c1e07d2..2b3be2b 100755
--- a/Parser/asdl_c.py
+++ b/Parser/asdl_c.py
@@ -722,7 +722,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;