Skip to content

Instantly share code, notes, and snippets.

@AdamGold
Created March 24, 2019 12:51
Show Gist options
  • Save AdamGold/4ef98ec549d987b060da65a59c26e202 to your computer and use it in GitHub Desktop.
Save AdamGold/4ef98ec549d987b060da65a59c26e202 to your computer and use it in GitHub Desktop.
@property
def hash(self) -> int:
"""return entry's hash"""
return len(self.key)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment