mirror of
https://github.com/python/cpython.git
synced 2026-01-04 14:32:21 +00:00
bpo-46072: Merge dxpairs into py_stats. (GH-31197)
This commit is contained in:
parent
a89772c791
commit
9c979d7afd
3 changed files with 21 additions and 62 deletions
|
|
@ -1923,7 +1923,7 @@ sys__debugmallocstats_impl(PyObject *module)
|
|||
extern PyObject *_Py_GetObjects(PyObject *, PyObject *);
|
||||
#endif
|
||||
|
||||
#ifdef DYNAMIC_EXECUTION_PROFILE
|
||||
#ifdef Py_STATS
|
||||
/* Defined in ceval.c because it uses static globals in that file */
|
||||
extern PyObject *_Py_GetDXProfile(PyObject *, PyObject *);
|
||||
#endif
|
||||
|
|
@ -1992,7 +1992,7 @@ static PyMethodDef sys_methods[] = {
|
|||
SYS_GETDEFAULTENCODING_METHODDEF
|
||||
SYS_GETDLOPENFLAGS_METHODDEF
|
||||
SYS_GETALLOCATEDBLOCKS_METHODDEF
|
||||
#ifdef DYNAMIC_EXECUTION_PROFILE
|
||||
#ifdef Py_STATS
|
||||
{"getdxp", _Py_GetDXProfile, METH_VARARGS},
|
||||
#endif
|
||||
SYS_GETFILESYSTEMENCODING_METHODDEF
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue