diff options
author | Alexander Belopolsky <alexander.belopolsky@gmail.com> | 2015-03-01 19:52:07 (GMT) |
---|---|---|
committer | Alexander Belopolsky <alexander.belopolsky@gmail.com> | 2015-03-01 19:52:07 (GMT) |
commit | e2e178e081a621d2c1fd8ceb65ce7735b3036def (patch) | |
tree | 3a6ca0160bf0bc2a357fb3c11806e5a07dd17543 /Modules | |
parent | 3de4aae1d06bddb44e157548060ddc4a43ff5657 (diff) | |
download | cpython-e2e178e081a621d2c1fd8ceb65ce7735b3036def.zip cpython-e2e178e081a621d2c1fd8ceb65ce7735b3036def.tar.gz cpython-e2e178e081a621d2c1fd8ceb65ce7735b3036def.tar.bz2 |
Closes issue #22791: Improved datetime from timestamp methods documentation.
Original patch by Akira Li.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/_datetimemodule.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Modules/_datetimemodule.c b/Modules/_datetimemodule.c index 701c587..09285d9 100644 --- a/Modules/_datetimemodule.c +++ b/Modules/_datetimemodule.c @@ -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, |