summaryrefslogtreecommitdiffstats
path: root/Modules/datetimemodule.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2007-08-29 17:28:42 (GMT)
committerGuido van Rossum <guido@python.org>2007-08-29 17:28:42 (GMT)
commite8a17aafca9c38aa5b74bc9066b6c7e867f25567 (patch)
tree906d32f9f7eb2e1894cbdcc25664d641c5db4943 /Modules/datetimemodule.c
parentda3f228740772a63ae41f3306a510eb6971dcd54 (diff)
downloadcpython-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.c2
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;