aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.com>2018-09-12 13:38:36 -0400
committerJussi Pakkanen <jpakkane@gmail.com>2018-09-16 15:07:43 +0300
commit3cf03ec6d603d2c4699cefb9fabdbd8de321a3f2 (patch)
treea7124115d8363911e16dc71e576d164bbda14d22 /docs
parent43268bfb79eca55d5d2bd6ff73abcadf9a77c60b (diff)
downloadmeson-3cf03ec6d603d2c4699cefb9fabdbd8de321a3f2.zip
meson-3cf03ec6d603d2c4699cefb9fabdbd8de321a3f2.tar.gz
meson-3cf03ec6d603d2c4699cefb9fabdbd8de321a3f2.tar.bz2
find_installation: Add support for feature option in required kwarg
Closes: #4165.
Diffstat (limited to 'docs')
-rw-r--r--docs/markdown/Python-module.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/markdown/Python-module.md b/docs/markdown/Python-module.md
index 51721f0..2bcad78 100644
--- a/docs/markdown/Python-module.md
+++ b/docs/markdown/Python-module.md
@@ -45,7 +45,9 @@ Keyword arguments are the following:
abort if no python installation can be found. If `required` is set to `false`,
Meson will continue even if no python installation was found. You can
then use the `.found()` method on the returned object to check
- whether it was found or not.
+ whether it was found or not. Since *0.48.0* the value of a
+ [`feature`](Build-options.md#features) option can also be passed to the
+ `required` keyword argument.
**Returns**: a [python installation][`python_installation` object]