comparison 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
comparison
equal deleted inserted replaced
62154:0d9347934cc5 62155:600c23127207
525 Py_DECREF(fnames); 525 Py_DECREF(fnames);
526 return NULL; 526 return NULL;
527 } 527 }
528 PyTuple_SET_ITEM(fnames, i, field); 528 PyTuple_SET_ITEM(fnames, i, field);
529 } 529 }
530 result = PyObject_CallFunction((PyObject*)&PyType_Type, "U(O){sOss}", 530 result = PyObject_CallFunction((PyObject*)&PyType_Type, "s(O){sOss}",
531 type, base, "_fields", fnames, "__module__", "_ast"); 531 type, base, "_fields", fnames, "__module__", "_ast");
532 Py_DECREF(fnames); 532 Py_DECREF(fnames);
533 return (PyTypeObject*)result; 533 return (PyTypeObject*)result;
534 } 534 }
535 535