Commits

Jakub Wilk committed 086daec

event: add Event.__str__().

Comments (0)

Files changed (1)

     def __hash__(self):
         return hash(self._as_tuple())
 
+    def __str__(self):
+        return '{text!r} on {date}'.format(text=self.text, date=self.date)
+
 # vim:ts=4 sw=4 et