Skip to content

Commit 3f56dbf

Browse files
Export fewer symbols.
1 parent a62ea5c commit 3f56dbf

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

Include/internal/pycore_crossinterp.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -186,9 +186,6 @@ typedef struct _sharedexception {
186186
_Py_excinfo uncaught;
187187
} _PyXI_exception_info;
188188

189-
PyAPI_FUNC(void) _PyXI_ApplyExceptionInfo(
190-
_PyXI_exception_info *info,
191-
PyObject *exctype);
192189

193190
typedef struct xi_session _PyXI_session;
194191
typedef struct _sharedns _PyXI_namespace;

Python/crossinterp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -903,7 +903,7 @@ _PyXI_InitExceptionInfo(_PyXI_exception_info *info,
903903
return failure;
904904
}
905905

906-
void
906+
static void
907907
_PyXI_ApplyExceptionInfo(_PyXI_exception_info *info, PyObject *exctype)
908908
{
909909
if (info->code == _PyXI_ERR_UNCAUGHT_EXCEPTION) {

0 commit comments

Comments
 (0)