From: Guido van Rossum Date: Wed, 1 Jul 1998 22:53:04 +0000 (+0000) Subject: Gotta have an __init__() method -- pdb.py calls it! X-Git-Tag: v1.5.2a1~358 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=030eb118238c6def2cd2ee7ec5508c66f7f240c0;p=thirdparty%2FPython%2Fcpython.git Gotta have an __init__() method -- pdb.py calls it! --- diff --git a/Lib/cmd.py b/Lib/cmd.py index 366b0c95d805..508c4dedf745 100644 --- a/Lib/cmd.py +++ b/Lib/cmd.py @@ -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: