summaryrefslogtreecommitdiffstats
path: root/Lib/cmd.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1993-06-23 11:55:24 (GMT)
committerGuido van Rossum <guido@python.org>1993-06-23 11:55:24 (GMT)
commit5ef74b8f8edbebe22d0b86c85f08b0c618d808f7 (patch)
treebb1b4ee25eb19fa85c152415f2367342c8954f53 /Lib/cmd.py
parent5cfa5dfe977854a090e70cb4f4353e2e6b46789e (diff)
downloadcpython-5ef74b8f8edbebe22d0b86c85f08b0c618d808f7.zip
cpython-5ef74b8f8edbebe22d0b86c85f08b0c618d808f7.tar.gz
cpython-5ef74b8f8edbebe22d0b86c85f08b0c618d808f7.tar.bz2
pdb.py, bdb.py, cmd.py: use __init__() instead of init()
Diffstat (limited to 'Lib/cmd.py')
-rw-r--r--Lib/cmd.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/cmd.py b/Lib/cmd.py
index 7c512de..c4a347d 100644
--- a/Lib/cmd.py
+++ b/Lib/cmd.py
@@ -14,7 +14,7 @@ class Cmd:
self.identchars = IDENTCHARS
self.lastcmd = ''
- def init(self):
+ def init(self): # BW compat only
return self
def cmdloop(self):