summaryrefslogtreecommitdiffstats
path: root/Doc/libsite.tex
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1998-02-13 06:58:54 (GMT)
committerFred Drake <fdrake@acm.org>1998-02-13 06:58:54 (GMT)
commit1947991c2f85db781fb3fcdc9e3bcfe2905e58e2 (patch)
tree260789493c7151408f009eaa84a7815ce4d28246 /Doc/libsite.tex
parentdc8af0acc1fbeec89e43f1ea43bf1a4d016f4fc6 (diff)
downloadcpython-1947991c2f85db781fb3fcdc9e3bcfe2905e58e2.zip
cpython-1947991c2f85db781fb3fcdc9e3bcfe2905e58e2.tar.gz
cpython-1947991c2f85db781fb3fcdc9e3bcfe2905e58e2.tar.bz2
Remove all \bcode / \ecode cruft; this is no longer needed. See previous
checkin of myformat.sty. Change "\renewcommand{\indexsubitem}{(...)}" to "\setindexsubitem{(...)}" everywhere. Some other minor nits that I happened to come across.
Diffstat (limited to 'Doc/libsite.tex')
-rw-r--r--Doc/libsite.tex14
1 files changed, 7 insertions, 7 deletions
diff --git a/Doc/libsite.tex b/Doc/libsite.tex
index 7e80b08..ba3e23d 100644
--- a/Doc/libsite.tex
+++ b/Doc/libsite.tex
@@ -6,7 +6,7 @@
In earlier versions of Python (up to and including 1.5a3), scripts or
modules that needed to use site-specific modules would place
-\code{import site} somewhere near the top of their code. This is no
+\samp{import site} somewhere near the top of their code. This is no
longer necessary.
This will append site-specific paths to to the module search path.
@@ -42,29 +42,29 @@ set to \file{/usr/local}. The Python 1.5 library is then installed in
files, \file{foo.pth} and \file{bar.pth}. Assume \file{foo.pth}
contains the following:
-\bcode\begin{verbatim}
+\begin{verbatim}
# foo package configuration
foo
bar
bletch
-\end{verbatim}\ecode
+\end{verbatim}
and \file{bar.pth} contains:
-\bcode\begin{verbatim}
+\begin{verbatim}
# bar package configuration
bar
-\end{verbatim}\ecode
+\end{verbatim}
Then the following directories are added to \code{sys.path}, in this
order:
-\bcode\begin{verbatim}
+\begin{verbatim}
/usr/local/python1.5/site-packages/bar
/usr/local/python1.5/site-packages/foo
-\end{verbatim}\ecode
+\end{verbatim}
Note that \file{bletch} is omitted because it doesn't exist; the
\file{bar} directory precedes the \file{foo} directory because