Kaydet (Commit) d9738242 authored tarafından Alexander Belopolsky's avatar Alexander Belopolsky

Fixed a typo in time_localtime()

üst b7832939
...@@ -401,7 +401,7 @@ time_localtime(PyObject *self, PyObject *args) ...@@ -401,7 +401,7 @@ time_localtime(PyObject *self, PyObject *args)
if (!parse_time_t_args(args, "|O:localtime", &when)) if (!parse_time_t_args(args, "|O:localtime", &when))
return NULL; return NULL;
if (pylocaltime(&when, &buf) == 1) if (pylocaltime(&when, &buf) == -1)
return NULL; return NULL;
return tmtotuple(&buf); return tmtotuple(&buf);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment