mirror of
https://github.com/python/cpython.git
synced 2025-09-27 18:59:43 +00:00
Gotta have an __init__() method -- pdb.py calls it!
This commit is contained in:
parent
bfa3f6b673
commit
030eb11823
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue