From: Fred Drake Date: Tue, 30 Dec 2003 17:17:17 +0000 (+0000) Subject: markup fix X-Git-Tag: v2.4a1~1029 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7c67cb8fba49cfb6eb9f2a0edfb25f88355fc699;p=thirdparty%2FPython%2Fcpython.git markup fix --- diff --git a/Doc/lib/libstdtypes.tex b/Doc/lib/libstdtypes.tex index 6e38222a2394..179503dcbbb2 100644 --- a/Doc/lib/libstdtypes.tex +++ b/Doc/lib/libstdtypes.tex @@ -1556,8 +1556,9 @@ attribute and may not be present on all file-like objects. \end{memberdesc} \begin{memberdesc}[file]{newlines} -If Python was built with the \code{--with-universal-newlines} option -(the default) this read-only attribute exists, and for files opened in +If Python was built with the \longprogramopt{with-universal-newlines} +option to \program{configure} (the default) this read-only attribute +exists, and for files opened in universal newline read mode it keeps track of the types of newlines encountered while reading the file. The values it can take are \code{'\e r'}, \code{'\e n'}, \code{'\e r\e n'}, \code{None} (unknown, diff --git a/Doc/whatsnew/whatsnew20.tex b/Doc/whatsnew/whatsnew20.tex index 1728e1a5f708..11337eedba4d 100644 --- a/Doc/whatsnew/whatsnew20.tex +++ b/Doc/whatsnew/whatsnew20.tex @@ -525,8 +525,8 @@ tricky and depends crucially on how often the program creates and destroys objects. The detection of cycles can be disabled when Python is compiled, if you can't afford even a tiny speed penalty or suspect that the cycle collection is buggy, by specifying the -\samp{--without-cycle-gc} switch when running the \file{configure} -script. +\longprogramopt{without-cycle-gc} switch when running the +\program{configure} script. Several people tackled this problem and contributed to a solution. An early implementation of the cycle detection approach was written by