Skip to content

Commit a851235

Browse files
Update Objects/sentinelobject.c
Co-authored-by: Pieter Eendebak <pieter.eendebak@gmail.com>
1 parent 9cfd101 commit a851235

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Objects/sentinelobject.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ sentinel_reduce(PyObject *op, PyObject *Py_UNUSED(ignored))
154154
static PyObject *
155155
sentinel_or(PyObject *self, PyObject *other)
156156
{
157-
PyObject *args = PyTuple_Pack(2, self, other);
157+
PyObject *args = _PyTuple_FromPair(self, other);
158158
if (args == NULL) {
159159
return NULL;
160160
}

0 commit comments

Comments
 (0)