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