summaryrefslogtreecommitdiffstats
path: root/Doc/lib/liblinecache.tex
diff options
context:
space:
mode:
authorKa-Ping Yee <ping@zesty.ca>2001-01-24 17:19:08 (GMT)
committerKa-Ping Yee <ping@zesty.ca>2001-01-24 17:19:08 (GMT)
commitfa004ad36c86f4af406cfa3a84ec8b6cb391e6dd (patch)
tree61544d6bc2f118d4187cfc4887711f728d0fb7cf /Doc/lib/liblinecache.tex
parent726b78ecb8660278399abaf36f98dec56ecf1271 (diff)
downloadcpython-fa004ad36c86f4af406cfa3a84ec8b6cb391e6dd.zip
cpython-fa004ad36c86f4af406cfa3a84ec8b6cb391e6dd.tar.gz
cpython-fa004ad36c86f4af406cfa3a84ec8b6cb391e6dd.tar.bz2
Show '\011', '\012', and '\015' as '\t', '\n', '\r' in strings.
Switch from octal escapes to hex escapes for other nonprintable characters.
Diffstat (limited to 'Doc/lib/liblinecache.tex')
-rw-r--r--Doc/lib/liblinecache.tex2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/lib/liblinecache.tex b/Doc/lib/liblinecache.tex
index f491d4c..8a9b914 100644
--- a/Doc/lib/liblinecache.tex
+++ b/Doc/lib/liblinecache.tex
@@ -41,5 +41,5 @@ Example:
\begin{verbatim}
>>> import linecache
>>> linecache.getline('/etc/passwd', 4)
-'sys:x:3:3:sys:/dev:/bin/sh\012'
+'sys:x:3:3:sys:/dev:/bin/sh\n'
\end{verbatim}