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
645a0dd6
Commit
645a0dd6
authored
Jan 07, 2012
by
Sandro Tosi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Py_SetPythonHome() can be called before Py_Initialize(); thanks to Cody Smith from docs@
parent
ded0348c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Doc/c-api/init.rst
Doc/c-api/init.rst
+1
-1
No files found.
Doc/c-api/init.rst
View file @
645a0dd6
...
@@ -29,7 +29,7 @@ Initializing and finalizing the interpreter
...
@@ -29,7 +29,7 @@ Initializing and finalizing the interpreter
Initialize the Python interpreter. In an application embedding Python, this
Initialize the Python interpreter. In an application embedding Python, this
should be called before using any other Python/C API functions; with the
should be called before using any other Python/C API functions; with the
exception of :c:func:`Py_SetProgramName` and :c:func:`Py_SetPath`. This initializes
exception of :c:func:`Py_SetProgramName`
, :c:func:`Py_SetPythonHome`
and :c:func:`Py_SetPath`. This initializes
the table of loaded modules (``sys.modules``), and creates the fundamental
the table of loaded modules (``sys.modules``), and creates the fundamental
modules :mod:`builtins`, :mod:`__main__` and :mod:`sys`. It also initializes
modules :mod:`builtins`, :mod:`__main__` and :mod:`sys`. It also initializes
the module search path (``sys.path``). It does not set ``sys.argv``; use
the module search path (``sys.path``). It does not set ``sys.argv``; use
...
...
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