Skip to content

Commit

Permalink
fix: inaccessible methods
Browse files Browse the repository at this point in the history
  • Loading branch information
BobTheBuidler committed Aug 7, 2022
1 parent 94738d0 commit 745be6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions checksum_dict/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,13 @@ def __setitem__(self, key: AnyAddressOrContract, value: T) -> None:
else:
super().__setitem__(EthAddressKey(key), value)

def __getitem_nochecksum(self, key: EthAddressKey) -> T:
def _getitem_nochecksum(self, key: EthAddressKey) -> T:
"""
You can use this method in custom subclasses to bypass the checksum ONLY if you know its already been done at an earlier point in your code.
"""
return super().__getitem__(key)

def __setitem_nochecksum(self, key: EthAddressKey, value: T) -> None:
def _setitem_nochecksum(self, key: EthAddressKey, value: T) -> None:
"""
You can use this method in custom subclasses to bypass the checksum ONLY if you know its already been done at an earlier point in your code.
"""
Expand Down

0 comments on commit 745be6a

Please sign in to comment.