Commit da6508f8 authored by Guido van Rossum's avatar Guido van Rossum

The doc string for strptime had the arguments reversed -- the string

comes first, the format second!  Scott Cotton discovered this.
parent 8176c7c7
......@@ -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 */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment