mirror of
https://github.com/python/cpython.git
synced 2025-07-23 11:15:24 +00:00
typo
This commit is contained in:
parent
398256b230
commit
a17a5d67b4
1 changed files with 1 additions and 1 deletions
|
@ -5072,7 +5072,7 @@ posix_sched_setaffinity(PyObject *self, PyObject *args)
|
|||
pid_t pid;
|
||||
Py_cpu_set *cpu_set;
|
||||
|
||||
if (!PyArg_ParseTuple(args, _Py_PARSE_PID "O!:schbed_setaffinity",
|
||||
if (!PyArg_ParseTuple(args, _Py_PARSE_PID "O!:sched_setaffinity",
|
||||
&pid, &cpu_set_type, &cpu_set))
|
||||
return NULL;
|
||||
if (sched_setaffinity(pid, cpu_set->size, cpu_set->set))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue