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
Next Next commit
Apply suggestions from code review
Co-authored-by: Bartosz Sławecki <bartosz@ilikepython.com>
  • Loading branch information
sergey-miryanov and johnslavik authored Mar 6, 2026
commit 67bd5fc7bd75f082837c277770b384f386264afd
8 changes: 4 additions & 4 deletions Objects/tupleobject.c
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,8 @@ tuple_alloc_2(void)
PyObject *
_PyTuple_FromPair(PyObject *one, PyObject *two)
Comment thread
sergey-miryanov marked this conversation as resolved.
Outdated
{
assert (one != NULL);
assert (two != NULL);
assert(one != NULL);
assert(two != NULL);

PyTupleObject *op = tuple_alloc_2();
if (op == NULL) {
Expand All @@ -240,8 +240,8 @@ _PyTuple_FromPair(PyObject *one, PyObject *two)
PyObject *
_PyTuple_FromPairSteal(PyObject *one, PyObject *two)
Comment thread
sergey-miryanov marked this conversation as resolved.
Outdated
{
assert (one != NULL);
assert (two != NULL);
assert(one != NULL);
assert(two != NULL);

PyTupleObject *op = tuple_alloc_2();
if (op == NULL) {
Expand Down
Loading