diff options
author | Mark Shannon <mark@hotpy.org> | 2022-02-07 16:51:43 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-07 16:51:43 +0000 |
commit | 9c979d7afd839abbb080028bdfeb73727e5cf633 (patch) | |
tree | 5d81a2c92b2355bf76ffd6803bd93d97306e2d10 /Python/sysmodule.c | |
parent | a89772c79183e3e62bf61b92077a04f6ebcc4a2b (diff) | |
download | cpython-git-9c979d7afd839abbb080028bdfeb73727e5cf633.tar.gz |
bpo-46072: Merge dxpairs into py_stats. (GH-31197)
Diffstat (limited to 'Python/sysmodule.c')
-rw-r--r-- | Python/sysmodule.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/sysmodule.c b/Python/sysmodule.c index 7597ea2ea9..acb03781a4 100644 --- a/Python/sysmodule.c +++ b/Python/sysmodule.c @@ -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 |