aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/mesonlib/universal.py
diff options
context:
space:
mode:
authorDaniel Mensinger <daniel@mensinger-ka.de>2021-06-05 10:13:59 +0200
committerDaniel Mensinger <daniel@mensinger-ka.de>2021-06-05 12:35:48 +0200
commit240434b167468f3fcad1d16b39c9aaf515b97eb6 (patch)
tree7d3737a4db53c76e398c37d3601d68ee1b74eac6 /mesonbuild/mesonlib/universal.py
parent27bb5f536a0f6d2b97a3e46348dc9f515a46a651 (diff)
downloadmeson-240434b167468f3fcad1d16b39c9aaf515b97eb6.zip
meson-240434b167468f3fcad1d16b39c9aaf515b97eb6.tar.gz
meson-240434b167468f3fcad1d16b39c9aaf515b97eb6.tar.bz2
typing: Fully annotate dependencies.cuda
Diffstat (limited to 'mesonbuild/mesonlib/universal.py')
-rw-r--r--mesonbuild/mesonlib/universal.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/mesonlib/universal.py b/mesonbuild/mesonlib/universal.py
index b8fc763..08e8b9e 100644
--- a/mesonbuild/mesonlib/universal.py
+++ b/mesonbuild/mesonlib/universal.py
@@ -1319,7 +1319,7 @@ def expand_arguments(args: T.Iterable[str]) -> T.Optional[T.List[str]]:
return expended_args
-def partition(pred: T.Callable[[_T], object], iterable: T.Iterator[_T]) -> T.Tuple[T.Iterator[_T], T.Iterator[_T]]:
+def partition(pred: T.Callable[[_T], object], iterable: T.Iterable[_T]) -> T.Tuple[T.Iterator[_T], T.Iterator[_T]]:
"""Use a predicate to partition entries into false entries and true
entries.