Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
46aab12e
Commit
46aab12e
authored
Dec 16, 1997
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Module names should be in \code{}.
Added index reference to site module.
parent
21704214
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
Doc/lib/libuser.tex
Doc/lib/libuser.tex
+3
-2
Doc/libuser.tex
Doc/libuser.tex
+3
-2
No files found.
Doc/lib/libuser.tex
View file @
46aab12e
...
@@ -16,11 +16,11 @@ that wishes to use the mechanism must execute the statement
...
@@ -16,11 +16,11 @@ that wishes to use the mechanism must execute the statement
import user
import user
\end{verbatim}
\ecode
\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
home directory and if it can be opened, exececutes it (using
\code
{
execfile()
}
) in its own (i.e. the module
\code
{
user
}
's) global
\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
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
directory is assumed to be named by the
\code
{
HOME
}
environment
variable; if this is not set, the current directory is used.
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
...
@@ -58,3 +58,4 @@ Modules for general use should \emph{not} import this module; it may
interfere with the operation of the importing program.
interfere with the operation of the importing program.
For a site-wide customization mechanism, see module
\code
{
site
}
.
For a site-wide customization mechanism, see module
\code
{
site
}
.
\refstmodindex
{
site
}
Doc/libuser.tex
View file @
46aab12e
...
@@ -16,11 +16,11 @@ that wishes to use the mechanism must execute the statement
...
@@ -16,11 +16,11 @@ that wishes to use the mechanism must execute the statement
import user
import user
\end{verbatim}
\ecode
\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
home directory and if it can be opened, exececutes it (using
\code
{
execfile()
}
) in its own (i.e. the module
\code
{
user
}
's) global
\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
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
directory is assumed to be named by the
\code
{
HOME
}
environment
variable; if this is not set, the current directory is used.
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
...
@@ -58,3 +58,4 @@ Modules for general use should \emph{not} import this module; it may
interfere with the operation of the importing program.
interfere with the operation of the importing program.
For a site-wide customization mechanism, see module
\code
{
site
}
.
For a site-wide customization mechanism, see module
\code
{
site
}
.
\refstmodindex
{
site
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment