diff options
| author | Victor Stinner <vstinner@python.org> | 2023-08-24 20:02:09 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-08-24 20:02:09 (GMT) |
| commit | a071ecb4d13595f3580cf82061dcd7b39cd475c5 (patch) | |
| tree | c744a2942c27476f0cd5c71faf336ad64142756a /Include/cpython/optimizer.h | |
| parent | 26893016a7f204b2e7138fc9ce04525a651c202e (diff) | |
| download | cpython-a071ecb4d13595f3580cf82061dcd7b39cd475c5.zip cpython-a071ecb4d13595f3580cf82061dcd7b39cd475c5.tar.gz cpython-a071ecb4d13595f3580cf82061dcd7b39cd475c5.tar.bz2 | |
gh-106320: Remove private _PySys functions (#108452)
Move private functions to the internal C API (pycore_sysmodule.h):
* _PySys_GetAttr()
* _PySys_GetSizeOf()
No longer export most of these functions.
Fix also a typo in Include/cpython/optimizer.h: add a missing space.
Diffstat (limited to 'Include/cpython/optimizer.h')
| -rw-r--r-- | Include/cpython/optimizer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/cpython/optimizer.h b/Include/cpython/optimizer.h index e3fe0e8..10457af 100644 --- a/Include/cpython/optimizer.h +++ b/Include/cpython/optimizer.h @@ -38,7 +38,7 @@ PyAPI_FUNC(void) PyUnstable_SetOptimizer(_PyOptimizerObject* optimizer); PyAPI_FUNC(_PyOptimizerObject *) PyUnstable_GetOptimizer(void); -PyAPI_FUNC(_PyExecutorObject *)PyUnstable_GetExecutor(PyCodeObject *code, int offset); +PyAPI_FUNC(_PyExecutorObject *) PyUnstable_GetExecutor(PyCodeObject *code, int offset); struct _PyInterpreterFrame * _PyOptimizer_BackEdge(struct _PyInterpreterFrame *frame, _Py_CODEUNIT *src, _Py_CODEUNIT *dest, PyObject **stack_pointer); |
