summaryrefslogtreecommitdiff
path: root/Include/ceval.h
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2016-11-28 11:59:04 +0100
committerVictor Stinner <victor.stinner@gmail.com>2016-11-28 11:59:04 +0100
commit048afd98b3d10fe17b4d7ec2e407f27b36b9380c (patch)
treec34e769ff6a51f4c7973f677fb06374d1e14985f /Include/ceval.h
parent214678e44bf7773c0ed9c3684818354001d8f9ca (diff)
downloadcpython-git-048afd98b3d10fe17b4d7ec2e407f27b36b9380c.tar.gz
Remove CALL_PROFILE special build
Issue #28799: * Remove the PyEval_GetCallStats() function. * Deprecate the untested and undocumented sys.callstats() function. * Remove the CALL_PROFILE special build Use the sys.setprofile() function, cProfile or profile module to profile function calls.
Diffstat (limited to 'Include/ceval.h')
-rw-r--r--Include/ceval.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/Include/ceval.h b/Include/ceval.h
index e721718832..42229696ff 100644
--- a/Include/ceval.h
+++ b/Include/ceval.h
@@ -120,7 +120,6 @@ PyAPI_DATA(int) _Py_CheckRecursionLimit;
PyAPI_FUNC(const char *) PyEval_GetFuncName(PyObject *);
PyAPI_FUNC(const char *) PyEval_GetFuncDesc(PyObject *);
-PyAPI_FUNC(PyObject *) PyEval_GetCallStats(PyObject *);
PyAPI_FUNC(PyObject *) PyEval_EvalFrame(struct _frame *);
PyAPI_FUNC(PyObject *) PyEval_EvalFrameEx(struct _frame *f, int exc);
#ifndef Py_LIMITED_API