Commits

Philip Jenvey  committed da301f6 Merge

merge upstream

  • Participants
  • Parent commits a440792, 0e92f3e
  • Branches py3k

Comments (0)

Files changed (1)

File lib-python/3/datetime.py

         return (self._offset, self._name)
 
     def __eq__(self, other):
+        if type(other) != timezone:
+            return False
         return self._offset == other._offset
 
     def __hash__(self):