mirror of
https://github.com/python/cpython.git
synced 2026-04-05 03:21:05 +00:00
Issue 5094: minor documentation fixes
This commit is contained in:
parent
05cc2030e5
commit
b39a0c242d
2 changed files with 25 additions and 25 deletions
|
|
@ -3472,13 +3472,13 @@ timezone_fromutc(PyDateTime_TimeZone *self, PyDateTime_DateTime *dt)
|
|||
static PyMethodDef timezone_methods[] = {
|
||||
{"tzname", (PyCFunction)timezone_tzname, METH_O,
|
||||
PyDoc_STR("If name is specified when timezone is created, returns the name."
|
||||
" Otherwise returns offset as 'UTC(+|-)HHMM'.")},
|
||||
" Otherwise returns offset as 'UTC(+|-)HH:MM'.")},
|
||||
|
||||
{"utcoffset", (PyCFunction)timezone_utcoffset, METH_O,
|
||||
PyDoc_STR("Returns fixed offset. Ignores its argument.")},
|
||||
PyDoc_STR("Return fixed offset.")},
|
||||
|
||||
{"dst", (PyCFunction)timezone_dst, METH_O,
|
||||
PyDoc_STR("Returns None. Ignores its argument.")},
|
||||
PyDoc_STR("Return None.")},
|
||||
|
||||
{"fromutc", (PyCFunction)timezone_fromutc, METH_O,
|
||||
PyDoc_STR("datetime in UTC -> datetime in local time.")},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue