]> granicus.if.org Git - python/commitdiff
Gotta have an __init__() method -- pdb.py calls it!
authorGuido van Rossum <guido@python.org>
Wed, 1 Jul 1998 22:53:04 +0000 (22:53 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 1 Jul 1998 22:53:04 +0000 (22:53 +0000)
Lib/cmd.py

index 366b0c95d805c45543c50a7bc1c6a7fcd5c74867..508c4dedf745d9b3c8a55ec96a16e613cf104b30 100644 (file)
@@ -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: