Remove dead code from _multiprocessing

This commit is contained in:
Antoine Pitrou 2011-05-09 20:55:03 +02:00
parent fc75393275
commit 2341f9ba00
3 changed files with 3 additions and 58 deletions

View file

@ -481,7 +481,7 @@ semlock_dealloc(SemLockObject* self)
static PyObject *
semlock_count(SemLockObject *self)
{
return PyInt_FromLong((long)self->count);
return PyLong_FromLong((long)self->count);
}
static PyObject *
@ -505,7 +505,7 @@ semlock_getvalue(SemLockObject *self)
the number of waiting threads */
if (sval < 0)
sval = 0;
return PyInt_FromLong((long)sval);
return PyLong_FromLong((long)sval);
#endif
}