Add a bunch of __init__.py's; maybe this will fix import
[python_utils.git] / list_utils.py
index 71630dc9a6fdb4d968f890b2ac4d3b8cb78360d2..d70159a1b2dadb61640eae20f029608cabd2f46e 100644 (file)
@@ -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