summaryrefslogtreecommitdiffstats
path: root/Lib/lib-tk/Canvas.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-03-20 20:45:49 (GMT)
committerGuido van Rossum <guido@python.org>1998-03-20 20:45:49 (GMT)
commitc457048744736201df6b2d796e8ead86ad63a320 (patch)
tree88df1380d8973b617400aa979266bf9cbbbad0f8 /Lib/lib-tk/Canvas.py
parent6f73c1a2ac6aaca09aa51a30265d1eea5deb8485 (diff)
downloadcpython-c457048744736201df6b2d796e8ead86ad63a320.zip
cpython-c457048744736201df6b2d796e8ead86ad63a320.tar.gz
cpython-c457048744736201df6b2d796e8ead86ad63a320.tar.bz2
Give in to the tab police.
Diffstat (limited to 'Lib/lib-tk/Canvas.py')
-rw-r--r--Lib/lib-tk/Canvas.py36
1 files changed, 18 insertions, 18 deletions
diff --git a/Lib/lib-tk/Canvas.py b/Lib/lib-tk/Canvas.py
index ad0cc56..3f19e0f 100644
--- a/Lib/lib-tk/Canvas.py
+++ b/Lib/lib-tk/Canvas.py
@@ -78,41 +78,41 @@ class CanvasItem:
return self.canvas.type(self.id)
class Arc(CanvasItem):
- def __init__(self, canvas, *args, **kw):
- apply(CanvasItem.__init__, (self, canvas, 'arc') + args, kw)
+ def __init__(self, canvas, *args, **kw):
+ apply(CanvasItem.__init__, (self, canvas, 'arc') + args, kw)
class Bitmap(CanvasItem):
- def __init__(self, canvas, *args, **kw):
- apply(CanvasItem.__init__, (self, canvas, 'bitmap') + args, kw)
+ def __init__(self, canvas, *args, **kw):
+ apply(CanvasItem.__init__, (self, canvas, 'bitmap') + args, kw)
class ImageItem(CanvasItem):
- def __init__(self, canvas, *args, **kw):
- apply(CanvasItem.__init__, (self, canvas, 'image') + args, kw)
+ def __init__(self, canvas, *args, **kw):
+ apply(CanvasItem.__init__, (self, canvas, 'image') + args, kw)
class Line(CanvasItem):
- def __init__(self, canvas, *args, **kw):
- apply(CanvasItem.__init__, (self, canvas, 'line') + args, kw)
+ def __init__(self, canvas, *args, **kw):
+ apply(CanvasItem.__init__, (self, canvas, 'line') + args, kw)
class Oval(CanvasItem):
- def __init__(self, canvas, *args, **kw):
- apply(CanvasItem.__init__, (self, canvas, 'oval') + args, kw)
+ def __init__(self, canvas, *args, **kw):
+ apply(CanvasItem.__init__, (self, canvas, 'oval') + args, kw)
class Polygon(CanvasItem):
- def __init__(self, canvas, *args, **kw):
- apply(CanvasItem.__init__, (self, canvas, 'polygon') + args, kw)
+ def __init__(self, canvas, *args, **kw):
+ apply(CanvasItem.__init__, (self, canvas, 'polygon') + args,kw)
class Rectangle(CanvasItem):
- def __init__(self, canvas, *args, **kw):
- apply(CanvasItem.__init__, (self, canvas, 'rectangle') + args, kw)
+ def __init__(self, canvas, *args, **kw):
+ apply(CanvasItem.__init__, (self, canvas, 'rectangle')+args,kw)
# XXX "Text" is taken by the Text widget...
class CanvasText(CanvasItem):
- def __init__(self, canvas, *args, **kw):
- apply(CanvasItem.__init__, (self, canvas, 'text') + args, kw)
+ def __init__(self, canvas, *args, **kw):
+ apply(CanvasItem.__init__, (self, canvas, 'text') + args, kw)
class Window(CanvasItem):
- def __init__(self, canvas, *args, **kw):
- apply(CanvasItem.__init__, (self, canvas, 'window') + args, kw)
+ def __init__(self, canvas, *args, **kw):
+ apply(CanvasItem.__init__, (self, canvas, 'window') + args, kw)
class Group:
def __init__(self, canvas, tag=None):