Made repr() include t only if obj.t is nonempty