diff options
author | Guido van Rossum <guido@python.org> | 1999-01-07 18:29:26 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1999-01-07 18:29:26 (GMT) |
commit | 446ccfe1ac97f5dc05a0ba89fc0a912981235099 (patch) | |
tree | c25b4e1baafecdd3a6143475edca03a1e7b03f73 /Modules/timemodule.c | |
parent | c7dd3e11dab80bc608d100c5bd475e8d5da307d4 (diff) | |
download | cpython-446ccfe1ac97f5dc05a0ba89fc0a912981235099.zip cpython-446ccfe1ac97f5dc05a0ba89fc0a912981235099.tar.gz cpython-446ccfe1ac97f5dc05a0ba89fc0a912981235099.tar.bz2 |
The doc string for strptime had the arguments reversed -- the string
comes first, the format second! Scott Cotton discovered this.
Diffstat (limited to 'Modules/timemodule.c')
-rw-r--r-- | Modules/timemodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/timemodule.c b/Modules/timemodule.c index 3cf30d6..4593b8f 100644 --- a/Modules/timemodule.c +++ b/Modules/timemodule.c @@ -435,7 +435,7 @@ time_strptime(self, args) } static char strptime_doc[] = -"strptime(format, string) -> tuple\n\ +"strptime(string, format) -> tuple\n\ Parse a string to a time tuple according to a format specification.\n\ See the library reference manual for formatting codes (same as strftime())."; #endif /* HAVE_STRPTIME */ |