1. Pypy
  2. Untitled project
  3. pypy

Commits

Manuel Jacob  committed a207229

Same here.

  • Participants
  • Parent commits 235bcc3
  • Branches py3k

Comments (0)

Files changed (1)

File lib-python/3.2/fractions.py

View file
         else:
             hash_ = abs(self._numerator) * dinv % _PyHASH_MODULUS
         result = hash_ if self >= 0 else -hash_
-        return -2 if result == -1 else result
+        return result
 
     def __eq__(a, b):
         """a == b"""