commit | e8a17aafca9c38aa5b74bc9066b6c7e867f25567 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Wed Aug 29 17:28:42 2007 +0000 |
committer | Guido van Rossum <guido@python.org> | Wed Aug 29 17:28:42 2007 +0000 |
tree | 906d32f9f7eb2e1894cbdcc25664d641c5db4943 | |
parent | da3f228740772a63ae41f3306a510eb6971dcd54 [diff] [blame] |
Use the correct type for variables corresponding to 'u' formats.
diff --git a/Modules/datetimemodule.c b/Modules/datetimemodule.c index 70118d2..046354c 100644 --- a/Modules/datetimemodule.c +++ b/Modules/datetimemodule.c
@@ -3786,7 +3786,7 @@ 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;