Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5493205

Browse files
committed
Module names should be in \code{}.
Added index reference to site module.
1 parent 0514ce1 commit 5493205

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

Doc/lib/libuser.tex

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ \section{Standard Module \sectcode{user}}
1616
import user
1717
\end{verbatim}\ecode
1818

19-
The user module looks for a file \file{.pythonrc.py} in the user's
19+
The \code{user} module looks for a file \file{.pythonrc.py} in the user's
2020
home directory and if it can be opened, exececutes it (using
2121
\code{execfile()}) in its own (i.e. the module \code{user}'s) global
2222
namespace. Errors during this phase are not caught; that's up to the
23-
program that imports the user module, if it wishes. The home
23+
program that imports the \code{user} module, if it wishes. The home
2424
directory is assumed to be named by the \code{HOME} environment
2525
variable; if this is not set, the current directory is used.
2626

@@ -58,3 +58,4 @@ \section{Standard Module \sectcode{user}}
5858
interfere with the operation of the importing program.
5959

6060
For a site-wide customization mechanism, see module \code{site}.
61+
\refstmodindex{site}

Doc/libuser.tex

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ \section{Standard Module \sectcode{user}}
1616
import user
1717
\end{verbatim}\ecode
1818

19-
The user module looks for a file \file{.pythonrc.py} in the user's
19+
The \code{user} module looks for a file \file{.pythonrc.py} in the user's
2020
home directory and if it can be opened, exececutes it (using
2121
\code{execfile()}) in its own (i.e. the module \code{user}'s) global
2222
namespace. Errors during this phase are not caught; that's up to the
23-
program that imports the user module, if it wishes. The home
23+
program that imports the \code{user} module, if it wishes. The home
2424
directory is assumed to be named by the \code{HOME} environment
2525
variable; if this is not set, the current directory is used.
2626

@@ -58,3 +58,4 @@ \section{Standard Module \sectcode{user}}
5858
interfere with the operation of the importing program.
5959

6060
For a site-wide customization mechanism, see module \code{site}.
61+
\refstmodindex{site}

0 commit comments

Comments
 (0)