Skip to content

Commit a46ee84

Browse files
committed
Fix hash invocation
1 parent 6881f86 commit a46ee84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

curtsies/formatstring.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ def __eq__(self, other):
183183

184184
def __hash__(self):
185185
# type: () -> int
186-
return hash(self.s, self.atts)
186+
return hash((self.s, self.atts))
187187

188188
def __repr__(self):
189189
# type: () -> str

0 commit comments

Comments
 (0)