diff options
Diffstat (limited to 'Lib/pstats.py')
-rw-r--r-- | Lib/pstats.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/pstats.py b/Lib/pstats.py index a6844fb..6beb0b3 100644 --- a/Lib/pstats.py +++ b/Lib/pstats.py @@ -442,12 +442,12 @@ class Stats: if nc == 0: print >> self.stream, ' '*8, else: - print >> self.stream, f8(tt/nc), + print >> self.stream, f8(float(tt)/nc), print >> self.stream, f8(ct), if cc == 0: print >> self.stream, ' '*8, else: - print >> self.stream, f8(ct/cc), + print >> self.stream, f8(float(ct)/cc), print >> self.stream, func_std_string(func) class TupleComp: |