summaryrefslogtreecommitdiff
path: root/Lib/cmd.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-07-01 22:53:04 +0000
committerGuido van Rossum <guido@python.org>1998-07-01 22:53:04 +0000
commit030eb118238c6def2cd2ee7ec5508c66f7f240c0 (patch)
tree5a9df6e1122e9ea5f13bf42bf2e5c86712cd39d9 /Lib/cmd.py
parentbfa3f6b673d80de48c2bb9a85cf942a958b97374 (diff)
downloadcpython-git-030eb118238c6def2cd2ee7ec5508c66f7f240c0.tar.gz
Gotta have an __init__() method -- pdb.py calls it!
Diffstat (limited to 'Lib/cmd.py')
-rw-r--r--Lib/cmd.py2
1 files changed, 2 insertions, 0 deletions
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: