diff --git a/vpython/cyvector.pyx b/vpython/cyvector.pyx index a35179d..a3aeb1f 100644 --- a/vpython/cyvector.pyx +++ b/vpython/cyvector.pyx @@ -58,7 +58,7 @@ cdef class vector(object): return self def __repr__(self): - return '<{:.6g}, {:.6g}, {:.6g}>'.format(self._x, self._y, self._z) + return 'vector({:.6g}, {:.6g}, {:.6g})'.format(self._x, self._y, self._z) def __str__(self): return '<{:.6g}, {:.6g}, {:.6g}>'.format(self._x, self._y, self._z)