]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Doc: Minor fix to init config C API documentation (GH-21198)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 1 Jul 2020 09:40:55 +0000 (02:40 -0700)
committerGitHub <noreply@github.com>
Wed, 1 Jul 2020 09:40:55 +0000 (02:40 -0700)
Co-authored-by: Tomer Vromen <tomer.vromen@intel.com>
(cherry picked from commit 741008a57bdc95090b8be6ded5a9fd3f17f7bf21)

Co-authored-by: tomerv <tomerv@gmail.com>
Doc/c-api/init_config.rst

index 79a8815ed4199dc68457fe2c4731d0e4102804b0..ff4ccb8dbbb5fc5ed50d5884313288aa1d555fb8 100644 (file)
@@ -196,12 +196,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>`.