mirror of
https://github.com/python/cpython.git
synced 2025-07-19 09:15:34 +00:00
Make reindent.py happy (convert everything to 4-space indents!).
This commit is contained in:
parent
16f6329e61
commit
d038ca830f
9 changed files with 246 additions and 249 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue