mirror of
https://github.com/python/cpython.git
synced 2025-12-15 21:44:50 +00:00
make_new_cpu_set takes the number of cpus
This commit is contained in:
parent
2740af8cc4
commit
e870fe601a
1 changed files with 1 additions and 1 deletions
|
|
@ -4923,7 +4923,7 @@ cpu_set_richcompare(Py_cpu_set *set, Py_cpu_set *other, int op)
|
|||
Py_INCREF(res); \
|
||||
} \
|
||||
else { \
|
||||
res = make_new_cpu_set(&cpu_set_type, left->size); \
|
||||
res = make_new_cpu_set(&cpu_set_type, left->ncpus); \
|
||||
if (!res) \
|
||||
return NULL; \
|
||||
} \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue