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

(cherry picked from commit 6a6f823ea7)

Co-authored-by: Steve Dower <steve.dower@python.org>
This commit is contained in:
Miss Islington (bot) 2022-05-23 09:54:36 -07:00 committed by GitHub
parent 8c5739e425
commit fc31e2de3c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1319,9 +1319,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)) {