Explorar o código

Whitespace changes

Michael Pitidis %!s(int64=13) %!d(string=hai) anos
pai
achega
181cd3522b
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      shape.py

+ 2 - 0
shape.py

@@ -75,6 +75,7 @@ class Shape(object):
         for p in self.points[1:]:
             path.lineTo(QPointF(p))
         return path.contains(QPointF(point))
+
     def moveBy(self,dx,dy):
         index=0
         for point in self.points:
@@ -82,6 +83,7 @@ class Shape(object):
            newYPos=point.y()+dy
            self.points[index]=QPoint(newXPos,newYPos)
            index +=1
+
     def __len__(self):
         return len(self.points)