8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71abeb0 commit 6a6f823Copy full SHA for 6a6f823
Doc/c-api/init_config.rst
@@ -1322,9 +1322,9 @@ initialization::
1322
}
1323
1324
/* Specify sys.path explicitly */
1325
- /* To calculate the default and then modify, finish initialization and
1326
- then use PySys_GetObject("path") to get the list. */
1327
- condig.module_search_paths_set = 1
+ /* If you want to modify the default set of paths, finish
+ initialization first and then use PySys_GetObject("path") */
+ config.module_search_paths_set = 1;
1328
status = PyWideStringList_Append(&config.module_search_paths,
1329
L"/path/to/stdlib");
1330
if (PyStatus_Exception(status)) {
0 commit comments