Skip to content

Commit ff3ab57

Browse files
Fix types
1 parent 60207bd commit ff3ab57

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/socketmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6595,7 +6595,7 @@ socket_socketpair(PyObject *self, PyObject *args)
65956595
s1 = new_sockobject(state, sv[1], family, type, proto);
65966596
if (s1 == NULL)
65976597
goto error;
6598-
return _PyTuple_FromPairSteal(s0, s1);
6598+
return _PyTuple_FromPairSteal((PyObject *)s0, (PyObject *)s1);
65996599

66006600
error:
66016601
if (s0 == NULL)

0 commit comments

Comments
 (0)