diff options
author | Guido van Rossum <guido@python.org> | 1998-07-01 22:53:04 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1998-07-01 22:53:04 (GMT) |
commit | 030eb118238c6def2cd2ee7ec5508c66f7f240c0 (patch) | |
tree | 5a9df6e1122e9ea5f13bf42bf2e5c86712cd39d9 /Lib/cmd.py | |
parent | bfa3f6b673d80de48c2bb9a85cf942a958b97374 (diff) | |
download | cpython-030eb118238c6def2cd2ee7ec5508c66f7f240c0.zip cpython-030eb118238c6def2cd2ee7ec5508c66f7f240c0.tar.gz cpython-030eb118238c6def2cd2ee7ec5508c66f7f240c0.tar.bz2 |
Gotta have an __init__() method -- pdb.py calls it!
Diffstat (limited to 'Lib/cmd.py')
-rw-r--r-- | Lib/cmd.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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: |