Skip to content

Commit

Permalink
rename
Browse files Browse the repository at this point in the history
  • Loading branch information
ThePhar committed Jun 2, 2024
1 parent ee325de commit fc19f5d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -460,10 +460,10 @@ class KeyedDefaultDict(collections.defaultdict):

def __init__(self,
default_factory: typing.Callable[[Any], Any] = None,
default: typing.Union[typing.Mapping, typing.Iterable, None] = None,
mapping: typing.Union[typing.Mapping, typing.Iterable, None] = None,
**kwargs):
if default is not None:
super().__init__(default_factory, default, **kwargs)
if mapping is not None:
super().__init__(default_factory, mapping, **kwargs)
else:
super().__init__(default_factory, **kwargs)

Expand Down

0 comments on commit fc19f5d

Please sign in to comment.