commit | fc070d27316ebb0ed877fade811130ac566bbc14 | [log] [tgz] |
---|---|---|
author | Skip Montanaro <skip@pobox.com> | Sat Mar 15 16:04:45 2008 +0000 |
committer | Skip Montanaro <skip@pobox.com> | Sat Mar 15 16:04:45 2008 +0000 |
tree | 67a02d38e9c09a5fd96cd383b7259d9f91a074b9 | |
parent | 75e51680f1902d714a4f33efa3d857df9e7e59eb [diff] [blame] |
add %f format to datetime - issue 1158
diff --git a/Modules/timemodule.c b/Modules/timemodule.c index 5b4d210..bd1ad06 100644 --- a/Modules/timemodule.c +++ b/Modules/timemodule.c
@@ -520,7 +520,7 @@ 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; }