From: Brett Cannon Date: Wed, 31 May 2006 02:22:02 +0000 (+0000) Subject: Clarify wording about how default values in strptime() are used. X-Git-Tag: v2.4.4c1~211 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a8d0e016115010f139f412111b08f686f900aa3c;p=thirdparty%2FPython%2Fcpython.git Clarify wording about how default values in strptime() are used. Backport of fix for bug #1496315. --- diff --git a/Doc/lib/libtime.tex b/Doc/lib/libtime.tex index 8045a63ef210..8f650fdb1269 100644 --- a/Doc/lib/libtime.tex +++ b/Doc/lib/libtime.tex @@ -314,7 +314,8 @@ returned by \function{ctime()}. If \var{string} cannot be parsed according to \var{format}, \exception{ValueError} is raised. If the string to be parsed has excess data after parsing, \exception{ValueError} is raised. The default values used to fill in -any missing data are \code{(1900, 1, 1, 0, 0, 0, 0, 1, -1)} . +any missing data when more accurate values canot be inferred are +\code{(1900, 1, 1, 0, 0, 0, 0, 1, -1)} . Support for the \code{\%Z} directive is based on the values contained in \code{tzname} and whether \code{daylight} is true. Because of this,