summaryrefslogtreecommitdiff
path: root/Lib
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2001-04-14 15:16:05 +0000
committerEric S. Raymond <esr@thyrsus.com>2001-04-14 15:16:05 +0000
commitd7a0f314ad370272a86099d93403b0d3e47535ee (patch)
treec8a0f15a5961630adc462ec7024997f1891d1efd /Lib
parent6a7aa4e307e3f630dbd24d38bd136d8d910a26a2 (diff)
downloadcpython-d7a0f314ad370272a86099d93403b0d3e47535ee.tar.gz
Should resolve [ #416039 ] pstats browser crashes.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/pstats.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/pstats.py b/Lib/pstats.py
index ac8cd3a74d..da3aeb76e5 100644
--- a/Lib/pstats.py
+++ b/Lib/pstats.py
@@ -576,12 +576,12 @@ if __name__ == '__main__':
print "Add profile info from given file to current stastics object."
def do_callees(self, line):
- return self.generic('callees', line)
+ return self.generic('print_callees', line)
def help_callees(self):
print "Print callees statistics from the current stat object."
def do_callers(self, line):
- return self.generic('callers', line)
+ return self.generic('print_callers', line)
def help_callers(self):
print "Print callers statistics from the current stat object."
@@ -630,7 +630,7 @@ if __name__ == '__main__':
print "Print statistics from the current stat object."
def do_strip(self, line):
- self.stats.strip_order()
+ self.stats.strip_dirs()
return 0
def help_strip(self):
print "Strip leading path information from filenames in the report."