fix python repr formatting [#1]