gh-92913: Fix typos in documentation (GH-93129)

This commit is contained in:
Steve Dower 2022-05-23 17:39:10 +01:00 • committed by GitHub
parent 71abeb0895
commit 6a6f823ea7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1322,9 +1322,9 @@ initialization::
}
/* Specify sys.path explicitly */
/* To calculate the default and then modify, finish initialization and
then use PySys_GetObject("path") to get the list. */
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;
status = PyWideStringList_Append(&config.module_search_paths,
L"/path/to/stdlib");
if (PyStatus_Exception(status)) {