Adds a __repr__ method for Event.

This commit is contained in:
Eddie Hebert
2012-12-21 17:07:56 -05:00
parent 21da812c10
commit 8f6ff20e6a
+3
View File
@@ -45,3 +45,6 @@ class Event(object):
def __eq__(self, other):
return self.__dict__ == other.__dict__
def __repr__(self):
return "Event({0})".format(self.__dict__)