diff options
-rw-r--r-- | Modules/datetimemodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ 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; |