aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/Python-module.md
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.com>2021-08-28 22:52:13 -0400
committerXavier Claessens <xclaesse@gmail.com>2021-08-30 14:00:54 -0400
commit276063a1d2132940ec4a93623f1a5d01266bcd80 (patch)
treee6ec936817b64f210f7fb4607654bfcafc36504d /docs/markdown/Python-module.md
parentf8cfd91d719b2916355da44dda4870b9518ff905 (diff)
downloadmeson-276063a1d2132940ec4a93623f1a5d01266bcd80.zip
meson-276063a1d2132940ec4a93623f1a5d01266bcd80.tar.gz
meson-276063a1d2132940ec4a93623f1a5d01266bcd80.tar.bz2
Add missing "disabler" kwarg to python.dependency()
There is a unit test using it and now fails because the warning about unknown kwarg became fatal.
Diffstat (limited to 'docs/markdown/Python-module.md')
-rw-r--r--docs/markdown/Python-module.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/markdown/Python-module.md b/docs/markdown/Python-module.md
index 20eae1a..6f4120d 100644
--- a/docs/markdown/Python-module.md
+++ b/docs/markdown/Python-module.md
@@ -112,6 +112,8 @@ following keyword argument:
- `embed`: *(since 0.53.0)* If true, Meson will try to find a python
dependency that can be used for embedding python into an
application.
+- `disabler` *(since 0.60.0)*: if `true` and the dependency couldn't be found,
+ returns a [disabler object](#disabler-object) instead of a not-found dependency.
**Returns**: a [python dependency][`python_dependency` object]