diff options
author | Fred Drake <fdrake@acm.org> | 1997-12-16 14:41:36 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 1997-12-16 14:41:36 (GMT) |
commit | 5493205ba4a5c8f01266db0adfbb87dd616b0690 (patch) | |
tree | 60f17a56058f7183b066b7def0368df9016a393e /Doc | |
parent | 0514ce126ab9644bd27f18a8a6ac466bd54bf149 (diff) | |
download | cpython-5493205ba4a5c8f01266db0adfbb87dd616b0690.zip cpython-5493205ba4a5c8f01266db0adfbb87dd616b0690.tar.gz cpython-5493205ba4a5c8f01266db0adfbb87dd616b0690.tar.bz2 |
Module names should be in \code{}.
Added index reference to site module.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/lib/libuser.tex | 5 | ||||
-rw-r--r-- | Doc/libuser.tex | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/Doc/lib/libuser.tex b/Doc/lib/libuser.tex index b05e391..778ca7e 100644 --- a/Doc/lib/libuser.tex +++ b/Doc/lib/libuser.tex @@ -16,11 +16,11 @@ that wishes to use the mechanism must execute the statement import user \end{verbatim}\ecode -The user module looks for a file \file{.pythonrc.py} in the user's +The \code{user} module looks for a file \file{.pythonrc.py} in the user's home directory and if it can be opened, exececutes it (using \code{execfile()}) in its own (i.e. the module \code{user}'s) global namespace. Errors during this phase are not caught; that's up to the -program that imports the user module, if it wishes. The home +program that imports the \code{user} module, if it wishes. The home directory is assumed to be named by the \code{HOME} environment variable; if this is not set, the current directory is used. @@ -58,3 +58,4 @@ Modules for general use should \emph{not} import this module; it may interfere with the operation of the importing program. For a site-wide customization mechanism, see module \code{site}. +\refstmodindex{site} diff --git a/Doc/libuser.tex b/Doc/libuser.tex index b05e391..778ca7e 100644 --- a/Doc/libuser.tex +++ b/Doc/libuser.tex @@ -16,11 +16,11 @@ that wishes to use the mechanism must execute the statement import user \end{verbatim}\ecode -The user module looks for a file \file{.pythonrc.py} in the user's +The \code{user} module looks for a file \file{.pythonrc.py} in the user's home directory and if it can be opened, exececutes it (using \code{execfile()}) in its own (i.e. the module \code{user}'s) global namespace. Errors during this phase are not caught; that's up to the -program that imports the user module, if it wishes. The home +program that imports the \code{user} module, if it wishes. The home directory is assumed to be named by the \code{HOME} environment variable; if this is not set, the current directory is used. @@ -58,3 +58,4 @@ Modules for general use should \emph{not} import this module; it may interfere with the operation of the importing program. For a site-wide customization mechanism, see module \code{site}. +\refstmodindex{site} |