summaryrefslogtreecommitdiffstats
path: root/Lib/stdwin/wdbsrcwin.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/stdwin/wdbsrcwin.py')
-rwxr-xr-xLib/stdwin/wdbsrcwin.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/stdwin/wdbsrcwin.py b/Lib/stdwin/wdbsrcwin.py
index 6c5cde8..f79fab9 100755
--- a/Lib/stdwin/wdbsrcwin.py
+++ b/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]