mirror of
https://github.com/python/cpython.git
synced 2025-12-04 16:43:27 +00:00
Replace rare tabs with 4 spaces, assuming that's what was intended.
This commit is contained in:
parent
715a0c67b8
commit
0c08864fbb
1 changed files with 7 additions and 7 deletions
|
|
@ -146,16 +146,16 @@ COUNT_ALLOCS introduced in 0.9.9
|
||||||
Each type object grows three new members:
|
Each type object grows three new members:
|
||||||
|
|
||||||
/* Number of times an object of this type was allocated. */
|
/* Number of times an object of this type was allocated. */
|
||||||
int tp_allocs;
|
int tp_allocs;
|
||||||
|
|
||||||
/* Number of times an object of this type was deallocated. */
|
/* Number of times an object of this type was deallocated. */
|
||||||
int tp_frees;
|
int tp_frees;
|
||||||
|
|
||||||
/* Highwater mark: the maximum value of tp_allocs - tp_frees so
|
/* Highwater mark: the maximum value of tp_allocs - tp_frees so
|
||||||
* far; or, IOW, the largest number of objects of this type alive at
|
* far; or, IOW, the largest number of objects of this type alive at
|
||||||
* the same time.
|
* the same time.
|
||||||
*/
|
*/
|
||||||
int tp_maxalloc;
|
int tp_maxalloc;
|
||||||
|
|
||||||
Allocation and deallocation code keeps these counts up to date.
|
Allocation and deallocation code keeps these counts up to date.
|
||||||
Py_Finalize() displays a summary of the info returned by sys.getcounts()
|
Py_Finalize() displays a summary of the info returned by sys.getcounts()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue