From 3ffc92b61830f89bcdf1b24262b1af09a7971f10 Mon Sep 17 00:00:00 2001 From: Gra Date: Fri, 24 Apr 2009 14:27:09 +0200 Subject: [PATCH] Turned comments into docstrings. --- supportscreen.py | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/supportscreen.py b/supportscreen.py index bf1932f..0835816 100644 --- a/supportscreen.py +++ b/supportscreen.py @@ -4,10 +4,10 @@ import mytkSimpleDialog import ScrolledText import version +BASE_SF_URL = "http://pykeylogger.wiki.sourceforge.net" + class SupportScreen(mytkSimpleDialog.Dialog): - BASE_SF_URL = "http://pykeylogger.wiki.sourceforge.net" - def __init__(self, parent, title = None, rootx_offset=50, rooty_offset=50): mytkSimpleDialog.Dialog.__init__(self, parent, title, @@ -65,8 +65,9 @@ class SupportScreen(mytkSimpleDialog.Dialog): self.t.config(cursor="arrow") def buttonbox(self): - # add standard button box. override if you don't want the - # standard buttons + """Adds standard button box. + + Override if you don't want the standard buttons.""" box = Frame(self) @@ -133,8 +134,9 @@ class ExpirationScreen(mytkSimpleDialog.Dialog): self.t.config(cursor="arrow") def buttonbox(self): - # add standard button box. override if you don't want the - # standard buttons + """Adds standard button box. + + Override if you don't want the standard buttons.""" box = Frame(self) @@ -206,8 +208,9 @@ class AboutDialog(mytkSimpleDialog.Dialog): self.t.config(cursor="arrow") def buttonbox(self): - # add standard button box. override if you don't want the - # standard buttons + """Adds standard button box. + + Override if you don't want the standard buttons.""" box = Frame(self) -- 2.45.1