summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@python.org>2022-05-23 16:39:10 (GMT)
committerGitHub <noreply@github.com>2022-05-23 16:39:10 (GMT)
commit6a6f823ea7f565722148462a0372aa90085637bc (patch)
treeaf92c3d4461c42891ade6f784e3647fd39bec940
parent71abeb0895f7563dc5ac4b4f077a8f87dab57e7a (diff)
downloadcpython-6a6f823ea7f565722148462a0372aa90085637bc.zip
cpython-6a6f823ea7f565722148462a0372aa90085637bc.tar.gz
cpython-6a6f823ea7f565722148462a0372aa90085637bc.tar.bz2
gh-92913: Fix typos in documentation (GH-93129)
-rw-r--r--Doc/c-api/init_config.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/c-api/init_config.rst b/Doc/c-api/init_config.rst
index b1e9800..34883c9 100644
--- a/Doc/c-api/init_config.rst
+++ b/Doc/c-api/init_config.rst
@@ -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)) {