8000 gh-112087: Remove duplicated critical_section by corona10 · Pull Request #114268 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-112087: Remove duplicated critical_section #114268

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jan 18, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix
  • Loading branch information
corona10 committed Jan 18, 2024
commit 2d0dd6a8dcc941e0d47d5eed4d79bd7f56f53c9b
3 changes: 1 addition & 2 deletions Objects/listobject.c
Original file line number Diff line number Diff line change
Expand Up @@ -816,11 +816,10 @@ static PyObject *
list_insert_impl(PyListObject *self, Py_ssize_t index, PyObject *object)
/*[clinic end generated code: output=7f35e32f60c8cb78 input=b1987ca998a4ae2d]*/
{
PyObject *ret = Py_None;
if (ins1(self, index, object) == 0) {
Py_RETURN_NONE
}
return ret;
return NULL;
}

/*[clinic input]
Expand Down
0