Gotta have an __init__() method -- pdb.py calls it!

This commit is contained in:
Guido van Rossum 1998-07-01 22:53:04 +00:00
parent bfa3f6b673
commit 030eb11823
1 changed files with 2 additions and 0 deletions

View File

@ -52,6 +52,8 @@ class Cmd:
misc_header = "Miscellaneous help topics:" misc_header = "Miscellaneous help topics:"
undoc_header = "Undocumented commands:" undoc_header = "Undocumented commands:"
def __init__(self): pass
def cmdloop(self, intro=None): def cmdloop(self, intro=None):
self.preloop() self.preloop()
if intro != None: if intro != None: