diff options
author | Pablo Galindo Salgado <Pablogsal@gmail.com> | 2024-09-27 23:50:16 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-27 23:50:16 (GMT) |
commit | 02b49c51501f5eeef3ab5d74fb9eace1151a1359 (patch) | |
tree | d5e9c36d612b2023eeae9089372937c4334eb063 /Python | |
parent | 425587a110eb214a097c634d4b6d944ac478923e (diff) | |
download | cpython-02b49c51501f5eeef3ab5d74fb9eace1151a1359.zip cpython-02b49c51501f5eeef3ab5d74fb9eace1151a1359.tar.gz cpython-02b49c51501f5eeef3ab5d74fb9eace1151a1359.tar.bz2 |
gh-107954: Fix configuration type for the perf profiler (#124636)
Diffstat (limited to 'Python')
-rw-r--r-- | Python/initconfig.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/initconfig.c b/Python/initconfig.c index d93244f..58ac5e7 100644 --- a/Python/initconfig.c +++ b/Python/initconfig.c @@ -150,7 +150,7 @@ static const PyConfigSpec PYCONFIG_SPEC[] = { SPEC(orig_argv, WSTR_LIST, READ_ONLY, SYS_ATTR("orig_argv")), SPEC(parse_argv, BOOL, READ_ONLY, NO_SYS), SPEC(pathconfig_warnings, BOOL, READ_ONLY, NO_SYS), - SPEC(perf_profiling, BOOL, READ_ONLY, NO_SYS), + SPEC(perf_profiling, UINT, READ_ONLY, NO_SYS), SPEC(program_name, WSTR, READ_ONLY, NO_SYS), SPEC(run_command, WSTR_OPT, READ_ONLY, NO_SYS), SPEC(run_filename, WSTR_OPT, READ_ONLY, NO_SYS), |