Skip to content
Snippets Groups Projects
Commit cd511d07 authored by Piotr Maślanka's avatar Piotr Maślanka
Browse files

tp.Generic instead of tp.MutableMapping

parent 9ce49ccb
No related branches found
Tags v2.4.42
No related merge requests found
......@@ -86,7 +86,7 @@ def apply_dict_object(v: tp.Union[tp.Any, tp.Dict[str, T]]) -> tp.Union[DictObje
return v
class DictionaryView(collections.abc.MutableMapping, tp.MutableMapping[K, V]):
class DictionaryView(collections.abc.MutableMapping, tp.Generic[K, V]):
"""
A view on a multiple dictionaries. If key isn't found in the first dictionary, it is looked up
in another. Use like:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment