diff options
| author | Dylan Baker <dylan@pnwbakers.com> | 2025-10-21 13:58:03 -0700 |
|---|---|---|
| committer | Dylan Baker <dylan@pnwbakers.com> | 2025-12-17 10:27:54 -0800 |
| commit | f3d9a71a1bea661495c1d3c6004b26b4497fb1c9 (patch) | |
| tree | 8cdea7b6d898a6f54a56dcefd3965d1effcf214f /docs/markdown | |
| parent | 52974210d5225825bf13a997941120b6c224bd9f (diff) | |
| download | meson-f3d9a71a1bea661495c1d3c6004b26b4497fb1c9.tar.gz | |
modules/python: use typed_kwargs for `install_dir`
This `install_dir` is slightly different than the one in `BuildTarget`
(though I'd like to make them the same in the future). It is only
allowed to be `str | bool | None`, and the implementation has always
assumed this, it would have broken with an array value.
Diffstat (limited to 'docs/markdown')
| -rw-r--r-- | docs/markdown/Python-module.md | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/markdown/Python-module.md b/docs/markdown/Python-module.md index 66081762d..8fa99fba7 100644 --- a/docs/markdown/Python-module.md +++ b/docs/markdown/Python-module.md @@ -130,6 +130,9 @@ the addition of the following: Additionally, the following diverge from [[shared_module]]'s default behavior: +- `install_dir` may only be a string, boolean, or unset, but an `array` is not + allowed. + - `gnu_symbol_visibility`: if unset, it will default to `'hidden'` on versions of Python that support this (the python headers define `PyMODINIT_FUNC` has default visibility). |
