docs: correct docstring for list_flatmap method

This commit is contained in:
2026-02-17 01:27:59 +02:00
parent 953048422c
commit 9fb93e4697

View File

@@ -329,10 +329,10 @@ def list_flatmap(source: Iterable[T], extractor: Callable[[T], Iterable[R]]) ->
Args: Args:
source(Iterable[T]): source list source(Iterable[T]): source list
extractor(Callable[[T], list[R]): property extractor extractor(Callable[[T], Iterable[R]]): property extractor
Returns: 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]: def generator() -> Iterator[R]:
for inner in source: for inner in source: