Try to deal with complaints about indentation IN A COMMENT!

This commit is contained in:
Dave Astels 2019-06-24 20:29:05 -04:00
parent 40e412d5c1
commit f2f89ffe56

View file

@ -77,13 +77,14 @@ class Vec2D(tuple):
for implementing turtle graphics.
May be useful for turtle graphics programs also.
Derived from tuple, so a vector is a tuple!
Provides (for a, b vectors, k number):
a+b vector addition
a-b vector subtraction
a*b inner product
k*a and a*k multiplication with scalar
|a| absolute value of a
a.rotate(angle) rotation
a+b vector addition
a-b vector subtraction
a*b inner product
k*a and a*k multiplication with scalar
|a| absolute value of a
a.rotate(angle) rotation
"""
def __init__(self, x, y):
super().__init__((x, y))