Skip to content

Commit

Permalink
Merge pull request #66 from ronshapiro/patch-1
Browse files Browse the repository at this point in the history
Fix immutabledict.__ior__ error
  • Loading branch information
corenting authored Nov 7, 2022
2 parents f4341e6 + 255b7a8 commit d3a4d97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion immutabledict/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def __ror__(self, other: Any) -> Dict[Any, Any]:
return new

def __ior__(self, other: Any) -> "immutabledict[_K, _V]":
raise TypeError("'%s' object is not mutable", self.__class__.__name__)
raise TypeError(f"'{self.__class__.__name__}' object is not mutable")


class ImmutableOrderedDict(immutabledict):
Expand Down

0 comments on commit d3a4d97

Please sign in to comment.