diff options
author | Guido van Rossum <guido@python.org> | 1993-06-23 11:55:24 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1993-06-23 11:55:24 (GMT) |
commit | 5ef74b8f8edbebe22d0b86c85f08b0c618d808f7 (patch) | |
tree | bb1b4ee25eb19fa85c152415f2367342c8954f53 /Lib/bdb.py | |
parent | 5cfa5dfe977854a090e70cb4f4353e2e6b46789e (diff) | |
download | cpython-5ef74b8f8edbebe22d0b86c85f08b0c618d808f7.zip cpython-5ef74b8f8edbebe22d0b86c85f08b0c618d808f7.tar.gz cpython-5ef74b8f8edbebe22d0b86c85f08b0c618d808f7.tar.bz2 |
pdb.py, bdb.py, cmd.py: use __init__() instead of init()
Diffstat (limited to 'Lib/bdb.py')
-rw-r--r-- | Lib/bdb.py | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -13,8 +13,10 @@ BdbQuit = 'bdb.BdbQuit' # Exception to give up completely 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 bar(a): def test(): import linecache linecache.checkcache() - t = Tdb().init() + t = Tdb() t.run('import bdb; bdb.foo(10)') |