https://github.com/python/cpython/commit/b63ab245ec4f7bed547c9477d6bf16535ccd52ec
commit: b63ab245ec4f7bed547c9477d6bf16535ccd52ec
branch: main
author: Ivy Xu <[email protected]>
committer: StanFromIreland <[email protected]>
date: 2026-10-25T17:29:03Z
summary:

gh-110721: Remove undefined `_Py_Offer_Suggestions` in `pycore_pyerrors.h` 
(#154664)

files:
M Include/internal/pycore_pyerrors.h

diff --git a/Include/internal/pycore_pyerrors.h 
b/Include/internal/pycore_pyerrors.h
index c1f9d71e40077c..8f772a045e27a5 100644
--- a/Include/internal/pycore_pyerrors.h
+++ b/Include/internal/pycore_pyerrors.h
@@ -186,7 +186,6 @@ extern int _PyErr_CheckSignalsTstate(PyThreadState *tstate);
 extern void _Py_DumpExtensionModules(int fd, PyInterpreterState *interp);
 // Exported for external JIT support
 PyAPI_FUNC(PyObject *) _Py_CalculateSuggestions(PyObject *dir, PyObject *name);
-extern PyObject* _Py_Offer_Suggestions(PyObject* exception);
 
 // Export for '_testinternalcapi' shared extension
 PyAPI_FUNC(Py_ssize_t) _Py_UTF8_Edit_Cost(PyObject *str_a, PyObject *str_b,

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to