Closes issue #22791: Improved datetime from timestamp methods documentation.

Original patch by Akira Li.
This commit is contained in:
Alexander Belopolsky 2015-03-01 14:52:07 -05:00
parent 3de4aae1d0
commit e2e178e081
3 changed files with 13 additions and 8 deletions

View file

@ -5020,8 +5020,7 @@ static PyMethodDef datetime_methods[] = {
{"utcfromtimestamp", (PyCFunction)datetime_utcfromtimestamp,
METH_VARARGS | METH_CLASS,
PyDoc_STR("timestamp -> UTC datetime from a POSIX timestamp "
"(like time.time()).")},
PyDoc_STR("Construct a naive UTC datetime from a POSIX timestamp.")},
{"strptime", (PyCFunction)datetime_strptime,
METH_VARARGS | METH_CLASS,