@@ -155,7 +155,7 @@ def transform(self, transformation):
155155
156156 def __repr__ (self ):
157157 """Printable representation of :class:`BoundingVolume`."""
158- return "BoundingVolume({0 }, {1 })" .format (self .type , self .volume )
158+ return "BoundingVolume({!r }, {!r })" .format (self .type , self .volume )
159159
160160 def copy (self ):
161161 """Make a copy of this :class:`BoundingVolume`.
@@ -307,7 +307,7 @@ def scale(self, scale_factor):
307307
308308 def __repr__ (self ):
309309 """Printable representation of :class:`JointConstraint`."""
310- return "JointConstraint('{0}' , {1 }, {2 }, {3 }, {4 })" .format (self .joint_name , self .value , self .tolerance_above , self .tolerance_below , self .weight )
310+ return "JointConstraint({!r} , {!r }, {!r }, {!r }, {!r })" .format (self .joint_name , self .value , self .tolerance_above , self .tolerance_below , self .weight )
311311
312312 def copy (self ):
313313 """Create a copy of this :class:`JointConstraint`.
@@ -392,7 +392,7 @@ def transform(self, transformation):
392392
393393 def __repr__ (self ):
394394 """Printable representation of :class:`OrientationConstraint`."""
395- return "OrientationConstraint('{0}' , {1 }, {2 }, {3 })" .format (self .link_name , self .quaternion , self .tolerances , self .weight )
395+ return "OrientationConstraint({!r} , {!r }, {!r }, {!r })" .format (self .link_name , self .quaternion , self .tolerances , self .weight )
396396
397397 def copy (self ):
398398 """Create a copy of this :class:`OrientationConstraint`.
@@ -550,7 +550,7 @@ def transform(self, transformation):
550550
551551 def __repr__ (self ):
552552 """Printable representation of :class:`PositionConstraint`."""
553- return "PositionConstraint('{0}' , {1 }, {2 })" .format (self .link_name , self .bounding_volume , self .weight )
553+ return "PositionConstraint({!r} , {!r }, {!r })" .format (self .link_name , self .bounding_volume , self .weight )
554554
555555 def copy (self ):
556556 """Create a copy of this :class:`PositionConstraint`.
0 commit comments