diff options
author | Matthieu Darbois <mayeut@users.noreply.github.com> | 2022-10-21 01:02:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-21 01:02:23 +0200 |
commit | 614e91158ced7a65aabbe7244d52de1cebfc494b (patch) | |
tree | e69c295da7ebf41d4f6a11db6378e37916625f1a /psutil/arch | |
parent | 1b09c1b54cb2ae46145de7f710e9b990cd264016 (diff) | |
download | psutil-614e91158ced7a65aabbe7244d52de1cebfc494b.tar.gz |
feature: use ABI3 for cp36+ (#2102)
Diffstat (limited to 'psutil/arch')
-rw-r--r-- | psutil/arch/windows/process_info.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/psutil/arch/windows/process_info.c b/psutil/arch/windows/process_info.c index d44c4eb7..1981d306 100644 --- a/psutil/arch/windows/process_info.c +++ b/psutil/arch/windows/process_info.c @@ -578,7 +578,7 @@ psutil_get_cmdline(DWORD pid, int use_peb) { wcslen(szArglist[i])); if (py_unicode == NULL) goto out; - PyList_SET_ITEM(py_retlist, i, py_unicode); + PyList_SetItem(py_retlist, i, py_unicode); py_unicode = NULL; } ret = py_retlist; |