From 5317c50ce7a96a37acfab3800c0935580766dbbf Mon Sep 17 00:00:00 2001 From: Scott Date: Wed, 2 Feb 2022 11:09:18 -0800 Subject: mypy clean! --- list_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'list_utils.py') diff --git a/list_utils.py b/list_utils.py index 71630dc..d70159a 100644 --- a/list_utils.py +++ b/list_utils.py @@ -65,7 +65,7 @@ def remove_list_if_one_element(lst: List[Any]) -> Any: return lst -def population_counts(lst: List[Any]) -> Counter: +def population_counts(lst: Sequence[Any]) -> Counter: """ Return a population count mapping for the list (i.e. the keys are list items and the values are the number of occurrances of that -- cgit v1.3