diff options
author | Victor Stinner <vstinner@python.org> | 2023-07-02 16:37:37 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-02 16:37:37 (GMT) |
commit | bc7eb1708452da59c22782c487ae7f05f1788970 (patch) | |
tree | 9bed06f1ec6084183251579badf9d32ad332d866 /Python/pystate.c | |
parent | 9a51a419619bb9dd1075d683708c57803c5d48c7 (diff) | |
download | cpython-bc7eb1708452da59c22782c487ae7f05f1788970.zip cpython-bc7eb1708452da59c22782c487ae7f05f1788970.tar.gz cpython-bc7eb1708452da59c22782c487ae7f05f1788970.tar.bz2 |
gh-106320: Use _PyInterpreterState_GET() (#106336)
Replace PyInterpreterState_Get() with inlined
_PyInterpreterState_GET().
Diffstat (limited to 'Python/pystate.c')
-rw-r--r-- | Python/pystate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/pystate.c b/Python/pystate.c index 50ce1d0..a9b404b 100644 --- a/Python/pystate.c +++ b/Python/pystate.c @@ -2835,7 +2835,7 @@ _PyInterpreterState_GetConfig(PyInterpreterState *interp) int _PyInterpreterState_GetConfigCopy(PyConfig *config) { - PyInterpreterState *interp = PyInterpreterState_Get(); + PyInterpreterState *interp = _PyInterpreterState_GET(); PyStatus status = _PyConfig_Copy(config, &interp->config); if (PyStatus_Exception(status)) { |