mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +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:"
|
||||
undoc_header = "Undocumented commands:"
|
||||
|
||||
def __init__(self): pass
|
||||
|
||||
def cmdloop(self, intro=None):
|
||||
self.preloop()
|
||||
if intro != None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue