Skip to content
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
Add assertion that rc cannot be anything else than [-1, 0, 1]
  • Loading branch information
sobolevn committed Oct 10, 2023
commit e4ff92bd88d344fc5b2a3f3390fc69b4ba684a46
1 change: 1 addition & 0 deletions Modules/_testinternalcapi/set.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ set_next_entry(PyObject *self, PyObject *args)
if (rc == -1) {
return NULL;
}
assert(rc == 0);
Py_RETURN_NONE;
}

Expand Down