Commit 25bbb885 authored by Andi Vajda's avatar Andi Vajda
Browse files

switch S to U in PluralFormat.format

parent 008fc841
......@@ -1745,25 +1745,25 @@ static PyObject *t_pluralformat_format(t_pluralformat *self, PyObject *args)
}
break;
case 2:
if (!parseArgs(args, "iS", &n, &u, &_u))
if (!parseArgs(args, "iU", &n, &u, &_u))
{
STATUS_CALL(self->object->format(n, *u, _fp, status));
Py_RETURN_ARG(args, 1);
}
if (!parseArgs(args, "dS", &d, &u, &_u))
if (!parseArgs(args, "dU", &d, &u, &_u))
{
STATUS_CALL(self->object->format(d, *u, _fp, status));
Py_RETURN_ARG(args, 1);
}
break;
case 3:
if (!parseArgs(args, "iSP", TYPE_CLASSID(FieldPosition),
if (!parseArgs(args, "iUP", TYPE_CLASSID(FieldPosition),
&n, &u, &_u, &fp))
{
STATUS_CALL(self->object->format(n, *u, *fp, status));
Py_RETURN_ARG(args, 1);
}
if (!parseArgs(args, "dSP", TYPE_CLASSID(FieldPosition),
if (!parseArgs(args, "dUP", TYPE_CLASSID(FieldPosition),
&d, &u, &_u, &fp))
{
STATUS_CALL(self->object->format(d, *u, *fp, status));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment