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

This commit is contained in:
Guido van Rossum 2007-08-29 17:28:42 +00:00
parent da3f228740
commit e8a17aafca
1 changed files with 1 additions and 1 deletions

View File

@ -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;