diff options
author | Guido van Rossum <guido@python.org> | 2007-08-29 17:28:42 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2007-08-29 17:28:42 (GMT) |
commit | e8a17aafca9c38aa5b74bc9066b6c7e867f25567 (patch) | |
tree | 906d32f9f7eb2e1894cbdcc25664d641c5db4943 /Modules/datetimemodule.c | |
parent | da3f228740772a63ae41f3306a510eb6971dcd54 (diff) | |
download | cpython-e8a17aafca9c38aa5b74bc9066b6c7e867f25567.zip cpython-e8a17aafca9c38aa5b74bc9066b6c7e867f25567.tar.gz cpython-e8a17aafca9c38aa5b74bc9066b6c7e867f25567.tar.bz2 |
Use the correct type for variables corresponding to 'u' formats.
Diffstat (limited to 'Modules/datetimemodule.c')
-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; |