mirror of
https://github.com/arcan1s/ahriman.git
synced 2026-10-14 09:02:15 +00:00
docs: correct docstring for list_flatmap method
This commit is contained in:
1 parent
953048422c
commit
9fb93e4697
1 file changed
+2
-2
@@ -329,10 +329,10 @@ def list_flatmap(source: Iterable[T], extractor: Callable[[T], Iterable[R]]) ->
|
||||
|
||||
Args:
|
||||
source(Iterable[T]): source list
|
||||
extractor(Callable[[T], list[R]): property extractor
|
||||
extractor(Callable[[T], Iterable[R]]): property extractor
|
||||
|
||||
Returns:
|
||||
list[T]: combined list of unique entries in properties list
|
||||
list[R]: combined list of unique entries in properties list
|
||||
"""
|
||||
def generator() -> Iterator[R]:
|
||||
for inner in source:
|
||||
|
||||
Reference in new issue
Block a user