diff options
author | Guido van Rossum <guido@python.org> | 2002-09-29 00:25:51 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2002-09-29 00:25:51 (GMT) |
commit | bffa52f07fc73b3c8eb4b30e30e2417bc406d2ee (patch) | |
tree | a5fe735c4e0ca016924636adfe155445f84e6d3b /Lib/lib-tk | |
parent | af7a302c78258d418eba57bc2f80e4dabd8bbe9a (diff) | |
download | cpython-bffa52f07fc73b3c8eb4b30e30e2417bc406d2ee.zip cpython-bffa52f07fc73b3c8eb4b30e30e2417bc406d2ee.tar.gz cpython-bffa52f07fc73b3c8eb4b30e30e2417bc406d2ee.tar.bz2 |
Whitespace normalization (get rid of tabs).
Diffstat (limited to 'Lib/lib-tk')
-rw-r--r-- | Lib/lib-tk/turtle.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/lib-tk/turtle.py b/Lib/lib-tk/turtle.py index d59cd7a..16e5735 100644 --- a/Lib/lib-tk/turtle.py +++ b/Lib/lib-tk/turtle.py @@ -199,7 +199,7 @@ class RawPen: if self._filling: self._path.append(self._position) self._draw_turtle() - + def heading(self): return self._angle @@ -209,13 +209,13 @@ class RawPen: def window_width(self): width = self._canvas.winfo_width() - if width <= 1: # the window isn't managed by a geometry manager + if width <= 1: # the window isn't managed by a geometry manager width = self._canvas['width'] return width def window_height(self): height = self._canvas.winfo_height() - if height <= 1: # the window isn't managed by a geometry manager + if height <= 1: # the window isn't managed by a geometry manager height = self._canvas['height'] return height @@ -254,7 +254,7 @@ class RawPen: if self._filling: self._path.append(self._position) if self._drawing: - if self._tracing: + if self._tracing: dx = float(x1 - x0) dy = float(y1 - y0) distance = hypot(dx, dy) |