diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2001-04-14 15:16:05 (GMT) |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2001-04-14 15:16:05 (GMT) |
commit | 3c1858a58948b926431db7c40d308f37e6ed981e (patch) | |
tree | 7988df6975903c9c8ec08bbc6b8c8e449df9b26f /Lib/pstats.py | |
parent | 9df3eabd6ef2a0a177976eacb785e630680c0437 (diff) | |
download | cpython-3c1858a58948b926431db7c40d308f37e6ed981e.zip cpython-3c1858a58948b926431db7c40d308f37e6ed981e.tar.gz cpython-3c1858a58948b926431db7c40d308f37e6ed981e.tar.bz2 |
Should resolve [ #416039 ] pstats browser crashes.
Diffstat (limited to 'Lib/pstats.py')
-rw-r--r-- | Lib/pstats.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/pstats.py b/Lib/pstats.py index ac8cd3a..da3aeb7 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." |