import parent class

This commit is contained in:
Josh Holtrop 2011-03-29 13:20:20 -04:00
parent 55a96bbc3f
commit fcc5a29855

View File

@ -1,4 +1,6 @@
from Shape import Shape
class Line(Shape):
def __init__(self, x0, y0, x1, y1):
self.vars = [x0, y0, x1, y1]