summaryrefslogtreecommitdiff
path: root/Modules/timemodule.c
diff options
context:
space:
mode:
authorSkip Montanaro <skip@pobox.com>2008-03-15 16:04:45 +0000
committerSkip Montanaro <skip@pobox.com>2008-03-15 16:04:45 +0000
commitfc070d27316ebb0ed877fade811130ac566bbc14 (patch)
tree67a02d38e9c09a5fd96cd383b7259d9f91a074b9 /Modules/timemodule.c
parent75e51680f1902d714a4f33efa3d857df9e7e59eb (diff)
downloadcpython-git-fc070d27316ebb0ed877fade811130ac566bbc14.tar.gz
add %f format to datetime - issue 1158
Diffstat (limited to 'Modules/timemodule.c')
-rw-r--r--Modules/timemodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/timemodule.c b/Modules/timemodule.c
index 5b4d21031f..bd1ad06f49 100644
--- a/Modules/timemodule.c
+++ b/Modules/timemodule.c
@@ -520,7 +520,7 @@ time_strptime(PyObject *self, PyObject *args)
if (!strptime_module)
return NULL;
- strptime_result = PyObject_CallMethod(strptime_module, "strptime", "O", args);
+ strptime_result = PyObject_CallMethod(strptime_module, "_strptime_time", "O", args);
Py_DECREF(strptime_module);
return strptime_result;
}