commit | 5ef74b8f8edbebe22d0b86c85f08b0c618d808f7 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Wed Jun 23 11:55:24 1993 +0000 |
committer | Guido van Rossum <guido@python.org> | Wed Jun 23 11:55:24 1993 +0000 |
tree | bb1b4ee25eb19fa85c152415f2367342c8954f53 | |
parent | 5cfa5dfe977854a090e70cb4f4353e2e6b46789e [diff] [blame] |
pdb.py, bdb.py, cmd.py: use __init__() instead of init()
diff --git a/Lib/bdb.py b/Lib/bdb.py index 66d3457..bc0b282 100644 --- a/Lib/bdb.py +++ b/Lib/bdb.py
@@ -13,8 +13,10 @@ class Bdb: # Basic Debugger - def init(self): + def __init__(self): self.breaks = {} + + def init(self): # BW compat only return self def reset(self): @@ -303,5 +305,5 @@ def test(): import linecache linecache.checkcache() - t = Tdb().init() + t = Tdb() t.run('import bdb; bdb.foo(10)')