diff options
Diffstat (limited to 'Lib/lib-stdwin/wdbsrcwin.py')
-rw-r--r-- | Lib/lib-stdwin/wdbsrcwin.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/lib-stdwin/wdbsrcwin.py b/Lib/lib-stdwin/wdbsrcwin.py index 6c5cde8..f79fab9 100644 --- a/Lib/lib-stdwin/wdbsrcwin.py +++ b/Lib/lib-stdwin/wdbsrcwin.py @@ -7,11 +7,11 @@ import srcwin class DebuggerSourceWindow(srcwin.SourceWindow): - def init(self, debugger, filename): + def __init__(self, debugger, filename): self.debugger = debugger self.curlineno = 0 self.focus = 0 - return srcwin.SourceWindow.init(self, filename) + srcwin.SourceWindow.__init__(self, filename) def close(self): del self.debugger.sourcewindows[self.filename] |