SIGN IN SIGN UP

gh-106320: Remove _PyDict_GetItemStringWithError() function (#108313)

Remove private _PyDict_GetItemStringWithError() function of the
public C API: the new PyDict_GetItemStringRef() can be used instead.

* Move private _PyDict_GetItemStringWithError() to the internal C API.
* _testcapi get_code_extra_index() uses PyDict_GetItemStringRef().
  Avoid using private functions in _testcapi which tests the public C
  API.
V
Victor Stinner committed
615f6e946db6d7eae66b8de9a75a6c58a84516a6
Parent: 0cb0c23
Committed by GitHub <noreply@github.com> on 8/22/2023, 6:17:25 PM