From 030eb118238c6def2cd2ee7ec5508c66f7f240c0 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Wed, 1 Jul 1998 22:53:04 +0000 Subject: Gotta have an __init__() method -- pdb.py calls it! --- Lib/cmd.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Lib/cmd.py') diff --git a/Lib/cmd.py b/Lib/cmd.py index 366b0c95d8..508c4dedf7 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: -- cgit v1.2.1