diff options
Diffstat (limited to 'Python')
-rw-r--r-- | Python/bltinmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c index c4fc57d..6675abf 100644 --- a/Python/bltinmodule.c +++ b/Python/bltinmodule.c @@ -293,7 +293,7 @@ builtin_format(PyObject *self, PyObject *args) goto done; } - if (!PyArg_ParseTuple(args, "O|O:format", &value, &spec)) + if (!PyArg_ParseTuple(args, "O|U:format", &value, &spec)) goto done; /* initialize the default value */ |