Mercurial > cpython-lru_cache-weakref
diff Python/ceval.c @ 40196:6b91c0dcea58 2.4
[Bug #1542016] Report PCALL_POP value. This makes the return value of sys.callstats() match its docstring.
| author | Andrew M. Kuchling <amk@amk.ca> |
|---|---|
| date | Fri, 27 Oct 2006 13:36:16 +0000 |
| parents | 9118ea781fd5 |
| children | 39ad99dd67e4 |
line wrap: on
line diff
--- a/Python/ceval.c Fri Oct 27 13:34:05 2006 +0000 +++ b/Python/ceval.c Fri Oct 27 13:36:16 2006 +0000 @@ -179,10 +179,10 @@ PyObject * PyEval_GetCallStats(PyObject *self) { - return Py_BuildValue("iiiiiiiiii", + return Py_BuildValue("iiiiiiiiiii", pcall[0], pcall[1], pcall[2], pcall[3], pcall[4], pcall[5], pcall[6], pcall[7], - pcall[8], pcall[9]); + pcall[8], pcall[9], pcall[10]); } #else #define PCALL(O)
