mirror of
https://github.com/python/cpython.git
synced 2025-10-09 16:34:44 +00:00
gh-106320: Remove private _PyErr_SetKeyError() (#108607)
Move the private _PyErr_SetKeyError() function to the internal C API (pycore_pyerrors.h).
This commit is contained in:
parent
921eb8ebf6
commit
c9eefc77a7
3 changed files with 5 additions and 4 deletions
|
@ -36,6 +36,7 @@
|
|||
#include "pycore_dict.h" // _PyDict_Contains_KnownHash()
|
||||
#include "pycore_modsupport.h" // _PyArg_NoKwnames()
|
||||
#include "pycore_object.h" // _PyObject_GC_UNTRACK()
|
||||
#include "pycore_pyerrors.h" // _PyErr_SetKeyError()
|
||||
#include "pycore_setobject.h" // _PySet_NextEntry() definition
|
||||
#include <stddef.h> // offsetof()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue