Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix union of frozendict for python implementation #89

Merged
merged 2 commits into from
Nov 18, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
minor
Marco-Sulla authored Nov 18, 2023
commit 62f95e6a82aa07a5e9c0421eaede558b3e9b87c4
2 changes: 1 addition & 1 deletion src/frozendict/core.py
Original file line number Diff line number Diff line change
@@ -218,7 +218,7 @@ def frozendict_or(self, other, *args, **kwargs):
return self.__class__(res)

frozendict.__or__ = frozendict_or
frozendict.__ior__ = frozendict.__or__
frozendict.__ior__ = frozendict_or

try:
frozendict.__reversed__