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: