Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2ef4584

Browse files
committed
Issue #14900: Distuguish call count and primitive call count in pstat output.
Patch by Arne Babenhauserheide.
1 parent 138a314 commit 2ef4584

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

Lib/pstats.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ def dump_stats(self, filename):
165165
"module" : (((4, 1), ), "file name"),
166166
"name" : (((6, 1), ), "function name"),
167167
"nfl" : (((6, 1),(4, 1),(5, 1),), "name/file/line"),
168-
"pcalls" : (((0,-1), ), "call count"),
168+
"pcalls" : (((0,-1), ), "primitive call count"),
169169
"stdname" : (((7, 1), ), "standard name"),
170170
"time" : (((2,-1), ), "internal time"),
171171
}

Misc/ACKS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ Chris AtLee
4747
John Aycock
4848
Jan-Hein Bührman
4949
Donovan Baarda
50+
Arne Babenhauserheide
5051
Attila Babo
5152
Alfonso Baciero
5253
Marcin Bachry

0 commit comments

Comments
 (0)