mirror of
https://github.com/python/cpython.git
synced 2025-11-03 03:22:27 +00:00
Heh -- used the right format for a refcount, but forgot
to stop truncating it.
This commit is contained in:
parent
e98ccf6690
commit
8af92d1f6c
1 changed files with 1 additions and 1 deletions
|
|
@ -141,7 +141,7 @@ _Py_NegativeRefcount(const char *fname, int lineno, PyObject *op)
|
|||
PyOS_snprintf(buf, sizeof(buf),
|
||||
"%s:%i object at %p has negative ref count "
|
||||
"%" PY_FORMAT_SIZE_T "d",
|
||||
fname, lineno, op, (long)op->ob_refcnt);
|
||||
fname, lineno, op, op->ob_refcnt);
|
||||
Py_FatalError(buf);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue