summaryrefslogtreecommitdiffstats
path: root/Lib/pstats.py
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2001-07-28 14:44:03 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2001-07-28 14:44:03 (GMT)
commit66b6e192b9d0437029f8fd7aa9f381bb4e9ed248 (patch)
tree7053a7f14579f5bc42d32bd183986c3f0781dc44 /Lib/pstats.py
parent9544fc5027169a8dce9516435d2b127e83680aa8 (diff)
downloadcpython-66b6e192b9d0437029f8fd7aa9f381bb4e9ed248.zip
cpython-66b6e192b9d0437029f8fd7aa9f381bb4e9ed248.tar.gz
cpython-66b6e192b9d0437029f8fd7aa9f381bb4e9ed248.tar.bz2
Patch #416224: add readline completion to cmd.Cmd.
Diffstat (limited to 'Lib/pstats.py')
-rw-r--r--Lib/pstats.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/pstats.py b/Lib/pstats.py
index c1183f9..20a6cd1 100644
--- a/Lib/pstats.py
+++ b/Lib/pstats.py
@@ -538,6 +538,7 @@ if __name__ == '__main__':
class ProfileBrowser(cmd.Cmd):
def __init__(self, profile=None):
+ cmd.Cmd.__init__(self)
self.prompt = "% "
if profile:
self.stats = Stats(profile)