summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1998-03-12 06:47:48 (GMT)
committerFred Drake <fdrake@acm.org>1998-03-12 06:47:48 (GMT)
commit7be8fcb42a585a6ca4d0dab8bd527d8765b4a8b1 (patch)
treee6d2fc2465e26a1374388b1d4c13cb80582b928f
parent4e7e11abe57d9a3a8cf1684009447570225fc9bf (diff)
downloadcpython-7be8fcb42a585a6ca4d0dab8bd527d8765b4a8b1.zip
cpython-7be8fcb42a585a6ca4d0dab8bd527d8765b4a8b1.tar.gz
cpython-7be8fcb42a585a6ca4d0dab8bd527d8765b4a8b1.tar.bz2
Use \envvar{FOO} instead of \code{\$FOO}.
-rw-r--r--Doc/lib/libuser.tex5
-rw-r--r--Doc/libuser.tex5
2 files changed, 6 insertions, 4 deletions
diff --git a/Doc/lib/libuser.tex b/Doc/lib/libuser.tex
index 67317a2..2ed7f62 100644
--- a/Doc/lib/libuser.tex
+++ b/Doc/lib/libuser.tex
@@ -6,7 +6,8 @@
As a policy, Python doesn't run user-specified code on startup of
Python programs. (Only interactive sessions execute the script
-specified in the \code{PYTHONSTARTUP} environment variable if it exists).
+specified in the \envvar{PYTHONSTARTUP} environment variable if it
+exists).
However, some programs or sites may find it convenient to allow users
to have a standard customization file, which gets run when a program
@@ -23,7 +24,7 @@ home directory and if it can be opened, exececutes it (using
module \module{user}'s) global namespace. Errors during this phase
are not caught; that's up to the program that imports the
\module{user} module, if it wishes. The home directory is assumed to
-be named by the \code{HOME} environment variable; if this is not set,
+be named by the \envvar{HOME} environment variable; if this is not set,
the current directory is used.
The user's \file{.pythonrc.py} could conceivably test for
diff --git a/Doc/libuser.tex b/Doc/libuser.tex
index 67317a2..2ed7f62 100644
--- a/Doc/libuser.tex
+++ b/Doc/libuser.tex
@@ -6,7 +6,8 @@
As a policy, Python doesn't run user-specified code on startup of
Python programs. (Only interactive sessions execute the script
-specified in the \code{PYTHONSTARTUP} environment variable if it exists).
+specified in the \envvar{PYTHONSTARTUP} environment variable if it
+exists).
However, some programs or sites may find it convenient to allow users
to have a standard customization file, which gets run when a program
@@ -23,7 +24,7 @@ home directory and if it can be opened, exececutes it (using
module \module{user}'s) global namespace. Errors during this phase
are not caught; that's up to the program that imports the
\module{user} module, if it wishes. The home directory is assumed to
-be named by the \code{HOME} environment variable; if this is not set,
+be named by the \envvar{HOME} environment variable; if this is not set,
the current directory is used.
The user's \file{.pythonrc.py} could conceivably test for