summaryrefslogtreecommitdiff
path: root/Python/clinic
diff options
context:
space:
mode:
authorPablo Galindo Salgado <Pablogsal@gmail.com>2021-07-15 14:43:59 +0100
committerGitHub <noreply@github.com>2021-07-15 14:43:59 +0100
commit4cb7263f0c7199280c01d911a1e7021568b548fd (patch)
tree18163178a6b562625431d44fb2ffccb8e0a9ee3a /Python/clinic
parentf333ab0f2edec26a769ed558263ac662e5475451 (diff)
downloadcpython-git-4cb7263f0c7199280c01d911a1e7021568b548fd.tar.gz
Remove sys._deactivate_opcache() now that is not needed (GH-27154)
Diffstat (limited to 'Python/clinic')
-rw-r--r--Python/clinic/sysmodule.c.h20
1 files changed, 1 insertions, 19 deletions
diff --git a/Python/clinic/sysmodule.c.h b/Python/clinic/sysmodule.c.h
index 763fe7a96f..8350fbf985 100644
--- a/Python/clinic/sysmodule.c.h
+++ b/Python/clinic/sysmodule.c.h
@@ -965,24 +965,6 @@ sys_getandroidapilevel(PyObject *module, PyObject *Py_UNUSED(ignored))
#endif /* defined(ANDROID_API_LEVEL) */
-PyDoc_STRVAR(sys__deactivate_opcache__doc__,
-"_deactivate_opcache($module, /)\n"
-"--\n"
-"\n"
-"Deactivate the opcode cache permanently");
-
-#define SYS__DEACTIVATE_OPCACHE_METHODDEF \
- {"_deactivate_opcache", (PyCFunction)sys__deactivate_opcache, METH_NOARGS, sys__deactivate_opcache__doc__},
-
-static PyObject *
-sys__deactivate_opcache_impl(PyObject *module);
-
-static PyObject *
-sys__deactivate_opcache(PyObject *module, PyObject *Py_UNUSED(ignored))
-{
- return sys__deactivate_opcache_impl(module);
-}
-
#ifndef SYS_GETWINDOWSVERSION_METHODDEF
#define SYS_GETWINDOWSVERSION_METHODDEF
#endif /* !defined(SYS_GETWINDOWSVERSION_METHODDEF) */
@@ -1010,4 +992,4 @@ sys__deactivate_opcache(PyObject *module, PyObject *Py_UNUSED(ignored))
#ifndef SYS_GETANDROIDAPILEVEL_METHODDEF
#define SYS_GETANDROIDAPILEVEL_METHODDEF
#endif /* !defined(SYS_GETANDROIDAPILEVEL_METHODDEF) */
-/*[clinic end generated code: output=e77bf636a177c5c3 input=a9049054013a1b77]*/
+/*[clinic end generated code: output=855fc93b2347710b input=a9049054013a1b77]*/