summaryrefslogtreecommitdiff
path: root/list_utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'list_utils.py')
-rw-r--r--list_utils.py2
1 files changed, 1 insertions, 1 deletions
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