I'm not sure repr is needed for anything but this seems to say implement __repr__ but not necessarily __str__:

http://stackoverflow.com/questions/1436703/difference-between-str-and-repr-in-python