[Python-checkins] cpython (2.7): Issue #16893: whitespace in help.py.

terry.reedy python-checkins at python.org
Mon Sep 21 02:06:15 CEST 2015


https://hg.python.org/cpython/rev/1107e3ee6103
changeset:   98099:1107e3ee6103
branch:      2.7
parent:      98095:e66fbfa282c6
user:        Terry Jan Reedy <tjreedy at udel.edu>
date:        Sun Sep 20 20:05:51 2015 -0400
summary:
  Issue #16893: whitespace in help.py.

files:
  Lib/idlelib/help.py |  6 +++---
  1 files changed, 3 insertions(+), 3 deletions(-)


diff --git a/Lib/idlelib/help.py b/Lib/idlelib/help.py
--- a/Lib/idlelib/help.py
+++ b/Lib/idlelib/help.py
@@ -157,7 +157,7 @@
         "Configure tags and feed file to parser."
         Text.__init__(self, parent, wrap='word', highlightthickness=0,
                       padx=5, borderwidth=0)
-        
+
         normalfont = self.findfont(['TkDefaultFont', 'arial', 'helvetica'])
         fixedfont = self.findfont(['TkFixedFont', 'monaco', 'courier'])
         self['font'] = (normalfont, 12)
@@ -173,7 +173,7 @@
         self.tag_configure('l3', lmargin1=75, lmargin2=75)
         self.tag_configure('l4', lmargin1=100, lmargin2=100)
 
-        self.parser = HelpParser(self)   
+        self.parser = HelpParser(self)
         with open(filename) as f:
             contents = f.read().decode(encoding='utf-8')
         self.parser.feed(contents)
@@ -203,7 +203,7 @@
         self.grid_rowconfigure(0, weight=1)
         toc = self.contents_widget(text)
         toc.grid(column=0, row=0, sticky='nw')
-        
+
     def contents_widget(self, text):
         toc = Menubutton(self, text='TOC')
         drop = Menu(toc, tearoff=False)

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list