summaryrefslogtreecommitdiffstats
path: root/Include/internal/pycore_initconfig.h
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-10-01 10:26:04 (GMT)
committerGitHub <noreply@github.com>2019-10-01 10:26:04 (GMT)
commitd49f096cc41f57155efe71cd089c29b38c218488 (patch)
tree1830b017fe1259e6d5cc27390f0331a83b7d8ba2 /Include/internal/pycore_initconfig.h
parent938c00ca9e4207a2531041edff2e82490b02047f (diff)
downloadcpython-d49f096cc41f57155efe71cd089c29b38c218488.zip
cpython-d49f096cc41f57155efe71cd089c29b38c218488.tar.gz
cpython-d49f096cc41f57155efe71cd089c29b38c218488.tar.bz2
bpo-38304: PyConfig_InitPythonConfig() cannot fail anymore (GH-16509)
PyConfig_InitPythonConfig() and PyConfig_InitIsolatedConfig() no longer return PyStatus: they cannot fail anymore. (cherry picked from commit 8462a4936b3a551dc546a6adea04a70b0a07ca67) Co-authored-by: Victor Stinner <vstinner@redhat.com>
Diffstat (limited to 'Include/internal/pycore_initconfig.h')
-rw-r--r--Include/internal/pycore_initconfig.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/internal/pycore_initconfig.h b/Include/internal/pycore_initconfig.h
index e9810bc..40831c4 100644
--- a/Include/internal/pycore_initconfig.h
+++ b/Include/internal/pycore_initconfig.h
@@ -144,7 +144,7 @@ typedef enum {
_PyConfig_INIT_ISOLATED = 3
} _PyConfigInitEnum;
-PyAPI_FUNC(PyStatus) _PyConfig_InitCompatConfig(PyConfig *config);
+PyAPI_FUNC(void) _PyConfig_InitCompatConfig(PyConfig *config);
extern PyStatus _PyConfig_Copy(
PyConfig *config,
const PyConfig *config2);