]> granicus.if.org Git - python/commitdiff
#10699: fix docstring for tzset: it does not take a parameter
authorR. David Murray <rdmurray@bitdance.com>
Tue, 14 Dec 2010 00:55:46 +0000 (00:55 +0000)
committerR. David Murray <rdmurray@bitdance.com>
Tue, 14 Dec 2010 00:55:46 +0000 (00:55 +0000)
Thanks to Garrett Cooper for the fix.

Modules/timemodule.c

index 79803f4a01da5ca78ce8b368d96f2dce72f291d1..89666a46ec8a7af864948e84af28a051b12521ba 100644 (file)
@@ -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\