Skip to content

Commit 6a6f823

Browse files
authored
gh-92913: Fix typos in documentation (GH-93129)
1 parent 71abeb0 commit 6a6f823

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Doc/c-api/init_config.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1322,9 +1322,9 @@ initialization::
13221322
}
13231323
13241324
/* 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
1325+
/* If you want to modify the default set of paths, finish
1326+
initialization first and then use PySys_GetObject("path") */
1327+
config.module_search_paths_set = 1;
13281328
status = PyWideStringList_Append(&config.module_search_paths,
13291329
L"/path/to/stdlib");
13301330
if (PyStatus_Exception(status)) {

0 commit comments

Comments
 (0)