mirror of
https://github.com/python/cpython.git
synced 2025-10-24 07:26:11 +00:00
Lawrence Kesteloot noted: Lib/user.py has a comment that says that the
script pointed to by PYTHONPATH will be executed on startup. That should say PYTHONSTARTUP.
This commit is contained in:
parent
bdcc96c9e3
commit
bf45322b3d
1 changed files with 1 additions and 1 deletions
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
As a policy, Python doesn't run user-specified code on startup of
|
As a policy, Python doesn't run user-specified code on startup of
|
||||||
Python programs (interactive sessions execute the script specified in
|
Python programs (interactive sessions execute the script specified in
|
||||||
the PYTHONPATH environment variable if it exists).
|
the PYTHONSTARTUP environment variable if it exists).
|
||||||
|
|
||||||
However, some programs or sites may find it convenient to allow users
|
However, some programs or sites may find it convenient to allow users
|
||||||
to have a standard customization file, which gets run when a program
|
to have a standard customization file, which gets run when a program
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue