Skip to content

Commit 5faec77

Browse files
committed
Make data static.
1 parent 64bf37f commit 5faec77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/instrumentation.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1908,7 +1908,7 @@ add_power2_constant(PyObject *obj, const char *name, int i)
19081908
return err;
19091909
}
19101910

1911-
const char *const event_names [] = {
1911+
static const char *const event_names [] = {
19121912
[PY_MONITORING_EVENT_PY_START] = "PY_START",
19131913
[PY_MONITORING_EVENT_PY_RESUME] = "PY_RESUME",
19141914
[PY_MONITORING_EVENT_PY_RETURN] = "PY_RETURN",

0 commit comments

Comments
 (0)