From 40b58be100af300906e39025276c6576bc4b3559 Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Sat, 15 Feb 2020 23:47:53 +0530 Subject: modules/python: Do not error out if positional args are passed Also update the documentation. Fixes https://github.com/mesonbuild/meson/issues/6470 --- docs/markdown/Python-module.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/markdown/Python-module.md b/docs/markdown/Python-module.md index 152aa5c..d99b36a 100644 --- a/docs/markdown/Python-module.md +++ b/docs/markdown/Python-module.md @@ -103,8 +103,9 @@ need to add `dependencies : py_installation.dependency()`, see [][`dependency()` python_dependency py_installation.dependency(...) ``` -This method accepts the same arguments as the standard [dependency] function and -the following additional keyword arguments: +This method accepts no positional arguments, and the same keyword arguments as +the standard [dependency] function. It also supports the 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. -- cgit v1.1