summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTristan van Berkom <tristan@codethink.co.uk>2020-09-09 16:11:26 +0900
committerTristan van Berkom <tristan@codethink.co.uk>2020-09-11 11:44:18 +0900
commit9a2b5a5f72e3face17aa08381751907bda71aaf6 (patch)
tree3cce8ebe4c17f15861c7cd81ada835e23eaa1c30 /src
parent8e23879812ad90c8abe7bbbce61b37d091ae9ba7 (diff)
downloadbuildstream-9a2b5a5f72e3face17aa08381751907bda71aaf6.tar.gz
element.py: Fixup docstring for deprecated Element.search() API.
Diffstat (limited to 'src')
-rw-r--r--src/buildstream/element.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/buildstream/element.py b/src/buildstream/element.py
index c6577f5f5..5ba759dfe 100644
--- a/src/buildstream/element.py
+++ b/src/buildstream/element.py
@@ -476,12 +476,9 @@ class Element(Plugin):
yield cast("Element", ElementProxy(self, dep))
def search(self, name: str) -> Optional["Element"]:
- """search(scope, *, name)
-
- Search for a dependency by name
+ """Search for a dependency by name
Args:
- scope: The scope to search
name: The dependency to search for
Returns: