python 2.7 doesn't support type annotations.
This commit is contained in:
parent
b48e099d03
commit
b30371c699
1 changed files with 1 additions and 1 deletions
|
|
@ -83,7 +83,7 @@ def get_occurrence_of_key(dictionary, key):
|
|||
return _get_occurrence(dictionary=dictionary, item="key", keyword=key)
|
||||
|
||||
|
||||
def get_occurrences_and_values(items: list, value: any) -> dict:
|
||||
def get_occurrences_and_values(items, value):
|
||||
"""
|
||||
Method to get occurrence of a value in a nested list of dictionary
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue