mirror of
https://github.com/python/cpython.git
synced 2025-08-25 03:04:55 +00:00
gh-106320: Remove _PyInterpreterState_Get() alias (#106321)
Replace calls to the (removed) slow _PyInterpreterState_Get() with fast inlined _PyInterpreterState_GET() function.
This commit is contained in:
parent
0530f4f646
commit
18b1fdebe0
11 changed files with 29 additions and 22 deletions
|
@ -2425,7 +2425,7 @@ hamt_alloc(void)
|
|||
}
|
||||
|
||||
#define _empty_hamt \
|
||||
(&_Py_INTERP_SINGLETON(_PyInterpreterState_Get(), hamt_empty))
|
||||
(&_Py_INTERP_SINGLETON(_PyInterpreterState_GET(), hamt_empty))
|
||||
|
||||
PyHamtObject *
|
||||
_PyHamt_New(void)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue