Skip to content

Commit

Permalink
Runs black
Browse files Browse the repository at this point in the history
  • Loading branch information
spacether authored and corenting committed Oct 6, 2023
1 parent adeeedb commit 0a32835
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions immutabledict/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ def fromkeys(

def __new__(cls, *args: Any) -> immutabledict[_K, _V]:
inst = super().__new__(cls)
setattr(inst, '_dict', cls.dict_cls(*args))
setattr(inst, '_hash', None)
setattr(inst, "_dict", cls.dict_cls(*args))
setattr(inst, "_hash", None)
return inst

def __getitem__(self, key: _K) -> _V:
Expand Down

0 comments on commit 0a32835

Please sign in to comment.