fix DefaultDict.__or__

This commit is contained in:
Aman Karmani
2023-08-10 03:56:50 +00:00
parent 918f1b0dfb
commit a13e45d548
2 changed files with 10 additions and 0 deletions

View File

@@ -10,3 +10,6 @@ class DictDefault(Dict):
def __missing__(self, key):
return None
def __or__(self, other):
return DictDefault(super().__or__(other))