Gotta have an __init__() method -- pdb.py calls it!
This commit is contained in:
parent
bfa3f6b673
commit
030eb11823
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue