From 276063a1d2132940ec4a93623f1a5d01266bcd80 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Sat, 28 Aug 2021 22:52:13 -0400 Subject: 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. --- docs/markdown/Python-module.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'docs/markdown') 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] -- cgit v1.1