mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
merge 3.2
This commit is contained in:
commit
332503db07
1 changed files with 1 additions and 1 deletions
|
@ -496,7 +496,7 @@ builtin_format(PyObject *self, PyObject *args)
|
||||||
PyObject *format_spec = NULL;
|
PyObject *format_spec = NULL;
|
||||||
|
|
||||||
if (!PyArg_ParseTuple(args, "O|U:format", &value, &format_spec))
|
if (!PyArg_ParseTuple(args, "O|U:format", &value, &format_spec))
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
return PyObject_Format(value, format_spec);
|
return PyObject_Format(value, format_spec);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue