Update of /cvsroot/python/python/dist/src/Doc/lib In directory usw-pr-cvs1:/tmp/cvs-serv4364/lib Modified Files: libstdtypes.tex Log Message: Added information about the interaction of opening a file in append mode and seek() in the description of seek(). This closes SF bug #126850. Index: libstdtypes.tex =================================================================== RCS file: /cvsroot/python/python/dist/src/Doc/lib/libstdtypes.tex,v retrieving revision 1.45 retrieving revision 1.46 diff -C2 -r1.45 -r1.46 *** libstdtypes.tex 2000/12/12 22:03:47 1.45 --- libstdtypes.tex 2001/01/04 05:16:39 1.46 *************** *** 1080,1084 **** (absolute file positioning); other values are \code{1} (seek relative to the current position) and \code{2} (seek relative to the ! file's end). There is no return value. \end{methoddesc} --- 1080,1089 ---- (absolute file positioning); other values are \code{1} (seek relative to the current position) and \code{2} (seek relative to the ! file's end). There is no return value. Note that if the file is ! opened for appending (mode \code{'a'} or \code{'a+'}), any ! \method{seek()} operations will be undone at the next write. If the ! file is only opened for writing in append mode (mode \code{'a'}), ! this method is essentially a no-op, but it remains useful for files ! opened in append mode with reading enabled (mode \code{'a+'}). \end{methoddesc}
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