lib/__builtins__/int.py | raw changeset files shortlog |
1.1 --- a/lib/__builtins__/int.py Tue Nov 29 23:13:18 2016 +0100 1.2 +++ b/lib/__builtins__/int.py Wed Nov 30 16:18:17 2016 +0100 1.3 @@ -36,6 +36,10 @@ 1.4 # NOTE: To be implemented. 1.5 self.__data__ = None 1.6 1.7 + def __hash__(self): 1.8 + "Return a value for hashing purposes." 1.9 + return self 1.10 + 1.11 def __iadd__(self, other): 1.12 "Return a new int for the operation." 1.13 return _binary_op(self, other, native._int_add)