cpython: 1107e3ee6103 (original) (raw)

Mercurial > cpython

changeset 98099:1107e3ee6103 2.7

Issue #16893: whitespace in help.py. [#16893]

Terry Jan Reedy tjreedy@udel.edu
date Sun, 20 Sep 2015 20:05:51 -0400
parents e66fbfa282c6
children 884f15dc26f0
files Lib/idlelib/help.py
diffstat 1 files changed, 3 insertions(+), 3 deletions(-)[+] [-] Lib/idlelib/help.py 6

line wrap: on

line diff

--- a/Lib/idlelib/help.py +++ b/Lib/idlelib/help.py @@ -157,7 +157,7 @@ class HelpText(Text): "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 @@ class HelpText(Text): self.tag_configure('l3', lmargin1=75, lmargin2=75) self.tag_configure('l4', lmargin1=100, lmargin2=100)

@@ -203,7 +203,7 @@ class HelpFrame(Frame): 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)