Skip to content

Commit bebb594

Browse files
committed
Only define the static function --with-pydebug
1 parent ebcc373 commit bebb594

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Python/pylifecycle.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1076,6 +1076,7 @@ pyinit_main_reconfigure(PyThreadState *tstate)
10761076
}
10771077

10781078

1079+
#ifdef Py_DEBUG
10791080
static void
10801081
run_presite(PyThreadState *tstate)
10811082
{
@@ -1102,6 +1103,7 @@ run_presite(PyThreadState *tstate)
11021103
}
11031104
}
11041105
}
1106+
#endif
11051107

11061108

11071109
static PyStatus

0 commit comments

Comments
 (0)