[Python-checkins] python/dist/src/Doc/lib libtime.tex,1.49,1.50
fdrake@users.sourceforge.net
fdrake@users.sourceforge.net
Wed, 30 Oct 2002 10:17:06 -0800
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory usw-pr-cvs1:/tmp/cvs-serv17784
Modified Files:
libtime.tex
Log Message:
Add notes to the asctime() and ctime() descriptions to make it
explicit that locale information is not used. There wasn't anything
that implied it was, but this has confused users.
Index: libtime.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libtime.tex,v
retrieving revision 1.49
retrieving revision 1.50
diff -C2 -d -r1.49 -r1.50
*** libtime.tex 19 Jul 2002 17:09:36 -0000 1.49
--- libtime.tex 30 Oct 2002 18:17:03 -0000 1.50
***************
*** 125,128 ****
--- 125,129 ----
\code{'Sun Jun 20 23:21:05 1993'}. If \var{tuple} is not provided, the
current time as returned by \function{localtime()} is used.
+ Locale information is not used by \function{asctime()}.
\note{Unlike the C function of the same name, there is no trailing
newline.}
***************
*** 150,153 ****
--- 151,155 ----
as returned by \function{time()} is used. \code{ctime(\var{secs})}
is equivalent to \code{asctime(localtime(\var{secs}))}.
+ Locale information is not used by \function{ctime()}.
\versionchanged[Allowed \var{secs} to be omitted]{2.1}
\end{funcdesc}