Skip to content

Commit 3fb0be9

Browse files
committed
pythongh-107954: Fix configuration type for the perf profiler
1 parent 986a4e1 commit 3fb0be9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/initconfig.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ static const PyConfigSpec PYCONFIG_SPEC[] = {
150150
SPEC(orig_argv, WSTR_LIST, READ_ONLY, SYS_ATTR("orig_argv")),
151151
SPEC(parse_argv, BOOL, READ_ONLY, NO_SYS),
152152
SPEC(pathconfig_warnings, BOOL, READ_ONLY, NO_SYS),
153-
SPEC(perf_profiling, BOOL, READ_ONLY, NO_SYS),
153+
SPEC(perf_profiling, UINT, READ_ONLY, NO_SYS),
154154
SPEC(program_name, WSTR, READ_ONLY, NO_SYS),
155155
SPEC(run_command, WSTR_OPT, READ_ONLY, NO_SYS),
156156
SPEC(run_filename, WSTR_OPT, READ_ONLY, NO_SYS),

0 commit comments

Comments
 (0)