Update __repr__
pathunstrom opened this issue · comments
Piper Thunstrom commented
Use f-strings! ie f"myClass({arg1}, {arg2}"
Make it subclass friendly. Use type(self) instead of the class name in the string.
A 2D Vector class for PPB.
pathunstrom opened this issue · comments
Use f-strings! ie f"myClass({arg1}, {arg2}"
Make it subclass friendly. Use type(self) instead of the class name in the string.