Update of /cvsroot/python/python/dist/src/Doc/lib In directory usw-pr-cvs1:/tmp/cvs-serv18728 Modified Files: Tag: release22-maint 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.48 retrieving revision 1.48.6.1 diff -C2 -d -r1.48 -r1.48.6.1 *** libtime.tex 28 Nov 2001 07:26:15 -0000 1.48 --- libtime.tex 30 Oct 2002 18:18:08 -0000 1.48.6.1 *************** *** 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}
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4