summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2003-12-30 17:17:17 (GMT)
committerFred Drake <fdrake@acm.org>2003-12-30 17:17:17 (GMT)
commit7c67cb8fba49cfb6eb9f2a0edfb25f88355fc699 (patch)
tree4f32adcff2dadebe739b46482791e6b6c16330cb /Doc
parent4a442937359fa29af8457bd22b2d73fe39327cf8 (diff)
downloadcpython-7c67cb8fba49cfb6eb9f2a0edfb25f88355fc699.zip
cpython-7c67cb8fba49cfb6eb9f2a0edfb25f88355fc699.tar.gz
cpython-7c67cb8fba49cfb6eb9f2a0edfb25f88355fc699.tar.bz2
markup fix
Diffstat (limited to 'Doc')
-rw-r--r--Doc/lib/libstdtypes.tex5
-rw-r--r--Doc/whatsnew/whatsnew20.tex4
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