summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2017-11-16 18:26:41 +0900
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2017-11-16 18:26:41 +0900
commit0c8b7b49eca1488e9dfd923275dff3b74a1d5383 (patch)
treefbe55ffec206e5a7903fb616cceaba7273af21d7
parent108325bb11c42be123871c6c3ccc8a7f7e6debe2 (diff)
downloadbuildstream-0c8b7b49eca1488e9dfd923275dff3b74a1d5383.tar.gz
element.py: Fixed manual signature override in docstring
Now that recurse is a mandatory keyword argument, the docs should also reflect this; this must be done manually because we override the signature here in the docstring, to hide some private arguments.
-rw-r--r--buildstream/element.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildstream/element.py b/buildstream/element.py
index c95de41cf..3f48cc84a 100644
--- a/buildstream/element.py
+++ b/buildstream/element.py
@@ -178,7 +178,7 @@ class Element(Plugin):
yield source
def dependencies(self, scope, *, recurse=True, visited=None, recursed=False):
- """dependencies(scope, recurse=True)
+ """dependencies(scope, *, recurse=True)
A generator function which yields the dependencies of the given element.