Skip to content

Commit fc31e2d

Browse files
gh-92913: Fix typos in documentation (GH-93129)
(cherry picked from commit 6a6f823) Co-authored-by: Steve Dower <[email protected]>
1 parent 8c5739e commit fc31e2d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Doc/c-api/init_config.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -1319,9 +1319,9 @@ initialization::
13191319
}
13201320
13211321
/* Specify sys.path explicitly */
1322-
/* To calculate the default and then modify, finish initialization and
1323-
then use PySys_GetObject("path") to get the list. */
1324-
condig.module_search_paths_set = 1
1322+
/* If you want to modify the default set of paths, finish
1323+
initialization first and then use PySys_GetObject("path") */
1324+
config.module_search_paths_set = 1;
13251325
status = PyWideStringList_Append(&config.module_search_paths,
13261326
L"/path/to/stdlib");
13271327
if (PyStatus_Exception(status)) {

0 commit comments

Comments
 (0)