From 7c67cb8fba49cfb6eb9f2a0edfb25f88355fc699 Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Tue, 30 Dec 2003 17:17:17 +0000 Subject: markup fix --- Doc/lib/libstdtypes.tex | 5 +++-- Doc/whatsnew/whatsnew20.tex | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Doc/lib/libstdtypes.tex b/Doc/lib/libstdtypes.tex index 6e38222..179503d 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 1728e1a..11337ee 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 -- cgit v0.12