mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
Correct some value converting strangenesses.
This commit is contained in:
parent
162997efb1
commit
2cfaa34dfa
4 changed files with 7 additions and 7 deletions
|
|
@ -112,7 +112,7 @@ get_counts(void)
|
|||
if (result == NULL)
|
||||
return NULL;
|
||||
for (tp = type_list; tp; tp = tp->tp_next) {
|
||||
v = Py_BuildValue("(siii)", tp->tp_name, tp->tp_allocs,
|
||||
v = Py_BuildValue("(snnn)", tp->tp_name, tp->tp_allocs,
|
||||
tp->tp_frees, tp->tp_maxalloc);
|
||||
if (v == NULL) {
|
||||
Py_DECREF(result);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue