summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorR. David Murray <rdmurray@bitdance.com>2010-12-14 00:55:46 (GMT)
committerR. David Murray <rdmurray@bitdance.com>2010-12-14 00:55:46 (GMT)
commit4d55bf9fcc1acea845e843f52540198f81fe0359 (patch)
tree77ca27920922a2d3807aa8baf43141d6a57d3ceb
parent7ec754b7da863c5b0c5ca212da8a2585db989bf8 (diff)
downloadcpython-4d55bf9fcc1acea845e843f52540198f81fe0359.zip
cpython-4d55bf9fcc1acea845e843f52540198f81fe0359.tar.gz
cpython-4d55bf9fcc1acea845e843f52540198f81fe0359.tar.bz2
#10699: fix docstring for tzset: it does not take a parameter
Thanks to Garrett Cooper for the fix.
-rw-r--r--Modules/timemodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/timemodule.c b/Modules/timemodule.c
index 79803f4..89666a4 100644
--- a/Modules/timemodule.c
+++ b/Modules/timemodule.c
@@ -715,7 +715,7 @@ time_tzset(PyObject *self, PyObject *unused)
}
PyDoc_STRVAR(tzset_doc,
-"tzset(zone)\n\
+"tzset()\n\
\n\
Initialize, or reinitialize, the local timezone to the value stored in\n\
os.environ['TZ']. The TZ environment variable should be specified in\n\