Skip to content

Commit 9f672a5

Browse files
authored
bpo-37146: Move _PyEval_DeactivateOpCache() to the internal C API (GH-24786)
Don't export the symbol anymore.
1 parent 3abf6f0 commit 9f672a5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Include/cpython/ceval.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,3 @@ PyAPI_FUNC(Py_ssize_t) _PyEval_RequestCodeExtraIndex(freefunc);
2828

2929
PyAPI_FUNC(int) _PyEval_SliceIndex(PyObject *, Py_ssize_t *);
3030
PyAPI_FUNC(int) _PyEval_SliceIndexNotNone(PyObject *, Py_ssize_t *);
31-
32-
PyAPI_FUNC(void) _PyEval_DeactivateOpCache(void);

Include/internal/pycore_ceval.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ extern void _PyEval_FiniGIL(PyInterpreterState *interp);
6262

6363
extern void _PyEval_ReleaseLock(PyThreadState *tstate);
6464

65+
extern void _PyEval_DeactivateOpCache(void);
66+
6567

6668
/* --- _Py_EnterRecursiveCall() ----------------------------------------- */
6769

0 commit comments

Comments
 (0)