[Python-checkins] r46570 - python/branches/release24-maint/Doc/lib/libtime.tex

brett.cannon python-checkins at python.org
Wed May 31 04:22:02 CEST 2006


Author: brett.cannon
Date: Wed May 31 04:22:02 2006
New Revision: 46570

Modified:
   python/branches/release24-maint/Doc/lib/libtime.tex
Log:
Clarify wording about how default values in strptime() are used.

Backport of fix for bug #1496315.


Modified: python/branches/release24-maint/Doc/lib/libtime.tex
==============================================================================
--- python/branches/release24-maint/Doc/lib/libtime.tex	(original)
+++ python/branches/release24-maint/Doc/lib/libtime.tex	Wed May 31 04:22:02 2006
@@ -314,7 +314,8 @@
 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,


More information about the Python-checkins mailing list