mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
The doc string for strptime had the arguments reversed -- the string
comes first, the format second! Scott Cotton discovered this.
This commit is contained in:
parent
c7dd3e11da
commit
446ccfe1ac
1 changed files with 1 additions and 1 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue