diff --git a/immutabledict/__init__.py b/immutabledict/__init__.py index 9065e4e..825139d 100644 --- a/immutabledict/__init__.py +++ b/immutabledict/__init__.py @@ -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: