

def __repr__(self):
    class_name = type(self).__name__
    return '{}({!r}, {!r})'.format(self, *self)

dataset/ETHPy150Open fluentpython/example-code/09-pythonic-obj/vector2d_v1.py Vector2d.__repr__/VarMisuse@24/37 `class_name`->`self`