Skip to content

Commit fd595b4

Browse files
committed
Document PYTHON_PRESITE in the manpage
1 parent d5f2508 commit fd595b4

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Misc/python.man

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -679,6 +679,13 @@ counts still alive after shutting down the interpreter.
679679
If set, Python will dump objects and reference counts still alive after
680680
shutting down the interpreter into a file under the path given as the value to
681681
this environment variable.
682+
.IP PYTHON_PRESITE
683+
If this variable is set to a module, that module will be imported
684+
early in the interpreter lifecycle, before the \fIsite\fR module is
685+
executed, and before the \fI__main__\fR module is created.
686+
This only works on debug builds.
687+
.IP
688+
This is equivalent to the \fB-X presite=\fImodule\fR option.
682689
.SH AUTHOR
683690
The Python Software Foundation: https://www.python.org/psf/
684691
.SH INTERNET RESOURCES

0 commit comments

Comments
 (0)