summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorAlexander Belopolsky <alexander.belopolsky@gmail.com>2010-06-15 19:24:52 (GMT)
committerAlexander Belopolsky <alexander.belopolsky@gmail.com>2010-06-15 19:24:52 (GMT)
commitb39a0c242d8fcefbc38be76aee4d0ec27ccffdf4 (patch)
tree86e1dd634426db9b63938fecb7352a90bf3b3e22 /Modules
parent05cc2030e56a76f7f1a7b513132fd19c03909cb9 (diff)
downloadcpython-b39a0c242d8fcefbc38be76aee4d0ec27ccffdf4.zip
cpython-b39a0c242d8fcefbc38be76aee4d0ec27ccffdf4.tar.gz
cpython-b39a0c242d8fcefbc38be76aee4d0ec27ccffdf4.tar.bz2
Issue 5094: minor documentation fixes
Diffstat (limited to 'Modules')
-rw-r--r--Modules/datetimemodule.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/datetimemodule.c b/Modules/datetimemodule.c
index de9db6b..71c5cf5 100644
--- a/Modules/datetimemodule.c
+++ b/Modules/datetimemodule.c
@@ -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.")},