summaryrefslogtreecommitdiff
path: root/list_utils.py
diff options
context:
space:
mode:
authorScott <[email protected]>2022-02-02 11:09:18 -0800
committerScott <[email protected]>2022-02-02 11:09:18 -0800
commit5317c50ce7a96a37acfab3800c0935580766dbbf (patch)
tree2da99b27342a873e0a8fe0e3d49fa1bec1637e79 /list_utils.py
parent1ce11b3c28d175b6dcbfea9cf6367081f049c5a9 (diff)
mypy clean!
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