diff options
author | Fred Drake <fdrake@acm.org> | 2000-10-23 18:31:14 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2000-10-23 18:31:14 (GMT) |
commit | d038ca830fd5a6bafbd24b70eb71aeae83d362d3 (patch) | |
tree | 1a1febed0b11a25efb04bc50be91d4be3003e497 /Lib/lib-tk/turtle.py | |
parent | 16f6329e6153c4b92f2175a5560e372a762befe6 (diff) | |
download | cpython-d038ca830fd5a6bafbd24b70eb71aeae83d362d3.zip cpython-d038ca830fd5a6bafbd24b70eb71aeae83d362d3.tar.gz cpython-d038ca830fd5a6bafbd24b70eb71aeae83d362d3.tar.bz2 |
Make reindent.py happy (convert everything to 4-space indents!).
Diffstat (limited to 'Lib/lib-tk/turtle.py')
-rw-r--r-- | Lib/lib-tk/turtle.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/lib-tk/turtle.py b/Lib/lib-tk/turtle.py index 7c956ee..4e73f52 100644 --- a/Lib/lib-tk/turtle.py +++ b/Lib/lib-tk/turtle.py @@ -108,7 +108,7 @@ class RawPen: def write(self, arg, move=0): x, y = start = self._position x = x-1 # correction -- calibrated for Windows - item = self._canvas.create_text(x, y, + item = self._canvas.create_text(x, y, text=str(arg), anchor="sw", fill=self._color) self._items.append(item) @@ -258,7 +258,7 @@ class Pen(RawPen): _root = None _canvas = None root.destroy() - + def _getpen(): global _pen |