Commit e8a17aaf authored by Guido van Rossum's avatar Guido van Rossum

Use the correct type for variables corresponding to 'u' formats.

parent da3f2287
......@@ -3786,7 +3786,7 @@ static PyObject *
datetime_strptime(PyObject *cls, PyObject *args)
{
PyObject *result = NULL, *obj, *module;
const char *string, *format;
const Py_UNICODE *string, *format;
if (!PyArg_ParseTuple(args, "uu:strptime", &string, &format))
return NULL;
......
Markdown is supported
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