diff options
author | Victor Stinner <vstinner@python.org> | 2023-07-25 02:25:45 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-25 02:25:45 (GMT) |
commit | 0d0520af834dc92035d54d302e67f50f86353d41 (patch) | |
tree | 27598cee9e498b9c604e1f45286bcfdc4a3129ea /Include/internal/pycore_warnings.h | |
parent | 5a61692c6c334c017248bf3d8bb6422ff7b958e8 (diff) | |
download | cpython-0d0520af834dc92035d54d302e67f50f86353d41.zip cpython-0d0520af834dc92035d54d302e67f50f86353d41.tar.gz cpython-0d0520af834dc92035d54d302e67f50f86353d41.tar.bz2 |
gh-107211: No longer export internal functions (3) (#107215)
No longer export these 14 internal C API functions:
* _PySys_Audit()
* _PySys_SetAttr()
* _PyTraceBack_FromFrame()
* _PyTraceBack_Print_Indented()
* _PyUnicode_FormatAdvancedWriter()
* _PyUnicode_ScanIdentifier()
* _PyWarnings_Init()
* _Py_DumpASCII()
* _Py_DumpDecimal()
* _Py_DumpHexadecimal()
* _Py_DumpTraceback()
* _Py_DumpTracebackThreads()
* _Py_WriteIndent()
* _Py_WriteIndentedMargin()
Diffstat (limited to 'Include/internal/pycore_warnings.h')
-rw-r--r-- | Include/internal/pycore_warnings.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/internal/pycore_warnings.h b/Include/internal/pycore_warnings.h index 452d6b9..9785d7c 100644 --- a/Include/internal/pycore_warnings.h +++ b/Include/internal/pycore_warnings.h @@ -19,7 +19,7 @@ struct _warnings_runtime_state { extern int _PyWarnings_InitState(PyInterpreterState *interp); -PyAPI_FUNC(PyObject*) _PyWarnings_Init(void); +extern PyObject* _PyWarnings_Init(void); extern void _PyErr_WarnUnawaitedCoroutine(PyObject *coro); extern void _PyErr_WarnUnawaitedAgenMethod(PyAsyncGenObject *agen, PyObject *method); |