]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Doc: Minor fix to init config C API documentation (GH-21198)
authortomerv <tomerv@gmail.com>
Wed, 1 Jul 2020 09:32:54 +0000 (12:32 +0300)
committerGitHub <noreply@github.com>
Wed, 1 Jul 2020 09:32:54 +0000 (11:32 +0200)
Co-authored-by: Tomer Vromen <tomer.vromen@intel.com>
Doc/c-api/init_config.rst

index 84064d93ea3b145d5644a4099f2a25e0488d42d4..37f5b9f880bf1463099b99c17e818a0ed964960d 100644 (file)
@@ -197,12 +197,12 @@ PyPreConfig
 
    Function to initialize a preconfiguration:
 
-   .. c:function:: void PyPreConfig_InitIsolatedConfig(PyPreConfig *preconfig)
+   .. c:function:: void PyPreConfig_InitPythonConfig(PyPreConfig *preconfig)
 
       Initialize the preconfiguration with :ref:`Python Configuration
       <init-python-config>`.
 
-   .. c:function:: void PyPreConfig_InitPythonConfig(PyPreConfig *preconfig)
+   .. c:function:: void PyPreConfig_InitIsolatedConfig(PyPreConfig *preconfig)
 
       Initialize the preconfiguration with :ref:`Isolated Configuration
       <init-isolated-conf>`.