summaryrefslogtreecommitdiffstats
path: root/Include/internal/pycore_namespace.h
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2023-07-25 01:49:28 (GMT)
committerGitHub <noreply@github.com>2023-07-25 01:49:28 (GMT)
commit5a61692c6c334c017248bf3d8bb6422ff7b958e8 (patch)
tree303f5bc230962c5f1d91a2a0c678b3a6d2532d33 /Include/internal/pycore_namespace.h
parent11306a91bd316bb8d9a42ff188626ac5f76b3684 (diff)
downloadcpython-5a61692c6c334c017248bf3d8bb6422ff7b958e8.zip
cpython-5a61692c6c334c017248bf3d8bb6422ff7b958e8.tar.gz
cpython-5a61692c6c334c017248bf3d8bb6422ff7b958e8.tar.bz2
gh-107211: No longer export internal functions (2) (#107214)
No longer export these 43 internal C API functions: * _PyDict_CheckConsistency() * _PyErr_ChainStackItem() * _PyErr_CheckSignals() * _PyErr_CheckSignalsTstate() * _PyErr_Clear() * _PyErr_ExceptionMatches() * _PyErr_Fetch() * _PyErr_Format() * _PyErr_FormatFromCauseTstate() * _PyErr_GetExcInfo() * _PyErr_GetHandledException() * _PyErr_GetTopmostException() * _PyErr_NoMemory() * _PyErr_NormalizeException() * _PyErr_Restore() * _PyErr_SetHandledException() * _PyErr_SetNone() * _PyErr_SetObject() * _PyErr_SetString() * _PyErr_StackItemToExcInfoTuple() * _PyExc_CreateExceptionGroup() * _PyExc_PrepReraiseStar() * _PyException_AddNote() * _PyInterpreterState_Enable() * _PyLong_FormatAdvancedWriter() * _PyLong_FormatBytesWriter() * _PyLong_FormatWriter() * _PyMem_GetAllocatorName() * _PyMem_SetDefaultAllocator() * _PyMem_SetupAllocators() * _PyOS_InterruptOccurred() * _PyRuntimeState_Fini() * _PyRuntimeState_Init() * _PyRuntime_Finalize() * _PyRuntime_Initialize() * _PyThreadState_Bind() * _PyThreadState_DeleteExcept() * _PyThreadState_New() * _PyThreadState_Swap() * _PyType_CheckConsistency() * _PyUnicodeTranslateError_Create() * _Py_DumpExtensionModules() * _Py_FatalErrorFormat()
Diffstat (limited to 'Include/internal/pycore_namespace.h')
-rw-r--r--Include/internal/pycore_namespace.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Include/internal/pycore_namespace.h b/Include/internal/pycore_namespace.h
index cb76f04..9423547 100644
--- a/Include/internal/pycore_namespace.h
+++ b/Include/internal/pycore_namespace.h
@@ -10,9 +10,9 @@ extern "C" {
# error "this header requires Py_BUILD_CORE define"
#endif
-PyAPI_DATA(PyTypeObject) _PyNamespace_Type;
+extern PyTypeObject _PyNamespace_Type;
-PyAPI_FUNC(PyObject *) _PyNamespace_New(PyObject *kwds);
+PyAPI_FUNC(PyObject*) _PyNamespace_New(PyObject *kwds);
#ifdef __cplusplus
}