Skip to content

Commit

Permalink
Merge pull request #29 from BoothGroup/fix_len_namespace
Browse files Browse the repository at this point in the history
Fix erroneous argument in __len__ definition for Namespace.
  • Loading branch information
obackhouse authored Aug 16, 2023
2 parents 089db65 + 982761c commit 60ca8e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ebcc/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def __contains__(self, key):
"""Check if an attribute exists."""
return key in self._keys

def __len__(self, other):
def __len__(self):
"""Return the number of attributes."""
return len(self._keys)

Expand Down

0 comments on commit 60ca8e6

Please sign in to comment.