summaryrefslogtreecommitdiffstats
path: root/Misc/python.man
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2011-03-23 01:06:24 (GMT)
committerÉric Araujo <merwok@netwok.org>2011-03-23 01:06:24 (GMT)
commitc09fca67e7babfda22964143c74dcd313470850a (patch)
tree050cead4915139132014dfda4a07c2d0872d314a /Misc/python.man
parentf59c7b2bddbeb552dac8a1fc8c800c7789c81331 (diff)
downloadcpython-c09fca67e7babfda22964143c74dcd313470850a.zip
cpython-c09fca67e7babfda22964143c74dcd313470850a.tar.gz
cpython-c09fca67e7babfda22964143c74dcd313470850a.tar.bz2
Do not touch sys.path when site is imported and python was started with -S.
Original patch by Carl Meyer, review by Brett Cannon, small doc editions by yours truly. Fixes #11591.
Diffstat (limited to 'Misc/python.man')
-rw-r--r--Misc/python.man4
1 files changed, 3 insertions, 1 deletions
diff --git a/Misc/python.man b/Misc/python.man
index 2d15d5d..53b77fc 100644
--- a/Misc/python.man
+++ b/Misc/python.man
@@ -169,7 +169,9 @@ Disable the import of the module
.I site
and the site-dependent manipulations of
.I sys.path
-that it entails.
+that it entails. Also disable these manipulations if
+.I site
+is explicitly imported later.
.TP
.B \-u
Force the binary I/O layers of stdin, stdout and stderr to be unbuffered.