summaryrefslogtreecommitdiffstats
path: root/Doc/c-api/init_config.rst
diff options
context:
space:
mode:
authorSandro Mani <manisandro@gmail.com>2020-06-08 15:28:11 (GMT)
committerGitHub <noreply@github.com>2020-06-08 15:28:11 (GMT)
commit8f023a2f664f902a3d0b7a6f64d63afc0d1c15ae (patch)
tree8aa9027476167eca69c0e17ba8712f624bdb8e15 /Doc/c-api/init_config.rst
parentc6b292cdeee689f0bfac6c1e2c2d4e4e01fa8d9e (diff)
downloadcpython-8f023a2f664f902a3d0b7a6f64d63afc0d1c15ae.zip
cpython-8f023a2f664f902a3d0b7a6f64d63afc0d1c15ae.tar.gz
cpython-8f023a2f664f902a3d0b7a6f64d63afc0d1c15ae.tar.bz2
bpo-40854: Allow overriding sys.platlibdir via PYTHONPLATLIBDIR env-var (GH-20605)
Diffstat (limited to 'Doc/c-api/init_config.rst')
-rw-r--r--Doc/c-api/init_config.rst9
1 files changed, 9 insertions, 0 deletions
diff --git a/Doc/c-api/init_config.rst b/Doc/c-api/init_config.rst
index fc82c3e..7b8e894 100644
--- a/Doc/c-api/init_config.rst
+++ b/Doc/c-api/init_config.rst
@@ -436,6 +436,14 @@ PyConfig
:data:`sys.base_prefix`.
+ .. c:member:: wchar_t* platlibdir
+
+ :data:`sys.platlibdir`: platform library directory name, set at configure time
+ by ``--with-platlibdir``, overrideable by the ``PYTHONPLATLIBDIR``
+ environment variable.
+
+ .. versionadded:: 3.10
+
.. c:member:: int buffered_stdio
If equals to 0, enable unbuffered mode, making the stdout and stderr
@@ -884,6 +892,7 @@ Path Configuration
* Path configuration inputs:
* :c:member:`PyConfig.home`
+ * :c:member:`PyConfig.platlibdir`
* :c:member:`PyConfig.pathconfig_warnings`
* :c:member:`PyConfig.program_name`
* :c:member:`PyConfig.pythonpath_env`