commit | 030eb118238c6def2cd2ee7ec5508c66f7f240c0 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Wed Jul 01 22:53:04 1998 +0000 |
committer | Guido van Rossum <guido@python.org> | Wed Jul 01 22:53:04 1998 +0000 |
tree | 5a9df6e1122e9ea5f13bf42bf2e5c86712cd39d9 | |
parent | bfa3f6b673d80de48c2bb9a85cf942a958b97374 [diff] [blame] |
Gotta have an __init__() method -- pdb.py calls it!
diff --git a/Lib/cmd.py b/Lib/cmd.py index 366b0c9..508c4de 100644 --- a/Lib/cmd.py +++ b/Lib/cmd.py
@@ -52,6 +52,8 @@ misc_header = "Miscellaneous help topics:" undoc_header = "Undocumented commands:" + def __init__(self): pass + def cmdloop(self, intro=None): self.preloop() if intro != None: