mirror of
https://github.com/python/cpython.git
synced 2025-08-27 04:05:34 +00:00
gh-122163: Add notes for JSON serialization errors (GH-122165)
This allows to identify the source of the error.
This commit is contained in:
parent
c908d1f87d
commit
e6b25e9a09
8 changed files with 135 additions and 66 deletions
|
@ -161,7 +161,8 @@ extern PyObject* _Py_Offer_Suggestions(PyObject* exception);
|
|||
PyAPI_FUNC(Py_ssize_t) _Py_UTF8_Edit_Cost(PyObject *str_a, PyObject *str_b,
|
||||
Py_ssize_t max_cost);
|
||||
|
||||
void _PyErr_FormatNote(const char *format, ...);
|
||||
// Export for '_json' shared extension
|
||||
PyAPI_FUNC(void) _PyErr_FormatNote(const char *format, ...);
|
||||
|
||||
/* Context manipulation (PEP 3134) */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue