OK, so __repr__() should return a valid string to call with eval(). This is not currently the case. It's a bit annoying because what's currently in __repr__() should probably be in __str__(), but then you have to do print() rather than just press enter after the variable name...
OK, so
__repr__()
should return a valid string to call witheval()
. This is not currently the case. It's a bit annoying because what's currently in__repr__()
should probably be in__str__()
, but then you have to doprint()
rather than just press enter after the variable name...