summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-07-01 17:39:58 (GMT)
committerGitHub <noreply@github.com>2019-07-01 17:39:58 (GMT)
commit96f581cf9d2f1d7888d2fd9bb89f19f10c0477bf (patch)
treec2286c3e8876b881e7fb91eb5ba4bfd95714d94e /Doc
parent466e18e8c2738b06a24915cb186d954821d0414f (diff)
downloadcpython-96f581cf9d2f1d7888d2fd9bb89f19f10c0477bf.zip
cpython-96f581cf9d2f1d7888d2fd9bb89f19f10c0477bf.tar.gz
cpython-96f581cf9d2f1d7888d2fd9bb89f19f10c0477bf.tar.bz2
bpo-36763: Add PyConfig_SetWideStringList() (GH-14444)
(cherry picked from commit 36242fd871d0f0977e720d4fae5700774bd8c09a) Co-authored-by: Victor Stinner <vstinner@redhat.com>
Diffstat (limited to 'Doc')
-rw-r--r--Doc/c-api/init_config.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/c-api/init_config.rst b/Doc/c-api/init_config.rst
index 0d94e6b..d2c1f9a2 100644
--- a/Doc/c-api/init_config.rst
+++ b/Doc/c-api/init_config.rst
@@ -25,6 +25,7 @@ Functions:
* :c:func:`PyConfig_SetBytesArgv`
* :c:func:`PyConfig_SetBytesString`
* :c:func:`PyConfig_SetString`
+* :c:func:`PyConfig_SetWideStringList`
* :c:func:`PyPreConfig_InitIsolatedConfig`
* :c:func:`PyPreConfig_InitPythonConfig`
* :c:func:`PyStatus_Error`
@@ -368,6 +369,12 @@ PyConfig
Preinitialize Python if needed.
+ .. c:function:: PyStatus PyConfig_SetWideStringList(PyConfig *config, PyWideStringList *list, Py_ssize_t length, wchar_t **items)
+
+ Set the list of wide strings *list* to *length* and *items*.
+
+ Preinitialize Python if needed.
+
.. c:function:: PyStatus PyConfig_Read(PyConfig *config)
Read all Python configuration.