]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
markup fix
authorFred Drake <fdrake@acm.org>
Tue, 30 Dec 2003 17:17:17 +0000 (17:17 +0000)
committerFred Drake <fdrake@acm.org>
Tue, 30 Dec 2003 17:17:17 +0000 (17:17 +0000)
Doc/lib/libstdtypes.tex
Doc/whatsnew/whatsnew20.tex

index 6e38222a23946b1a42ca74b7189cef7fde363e8b..179503dcbbb295812bc93263e75012e1660f43b0 100644 (file)
@@ -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,
index 1728e1a5f708cc25c111057e820535473fc7c11b..11337eedba4dbeaf5d3a5965eed1de252acadaab 100644 (file)
@@ -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