summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2006-05-31 02:19:54 (GMT)
committerBrett Cannon <bcannon@gmail.com>2006-05-31 02:19:54 (GMT)
commit14a0952a1ff84b4adefae8381d41fb1799017064 (patch)
tree0b1b02d03bdc4e990982e386a55c7a9a4a1eadda /Doc
parentdd55b0a32c8124edea8f4d65e14d8e5a907b0f3b (diff)
downloadcpython-14a0952a1ff84b4adefae8381d41fb1799017064.zip
cpython-14a0952a1ff84b4adefae8381d41fb1799017064.tar.gz
cpython-14a0952a1ff84b4adefae8381d41fb1799017064.tar.bz2
Clarify wording on default values for strptime(); defaults are used when better
values cannot be inferred. Closes bug #1496315.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/lib/libtime.tex3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/lib/libtime.tex b/Doc/lib/libtime.tex
index 8045a63..b39b650 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 cannot 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,