Delete some vestigial code; execution will never reach the 'if' statement if args is NULL

This commit is contained in:
Andrew M. Kuchling 2005-06-02 17:07:11 +00:00
parent 921879abc2
commit a43ece9654

View file

@ -63,12 +63,7 @@ lock_PyThread_acquire_lock(lockobject *self, PyObject *args)
i = PyThread_acquire_lock(self->lock_lock, i); i = PyThread_acquire_lock(self->lock_lock, i);
Py_END_ALLOW_THREADS Py_END_ALLOW_THREADS
if (args == NULL) { return PyBool_FromLong((long)i);
Py_INCREF(Py_None);
return Py_None;
}
else
return PyBool_FromLong((long)i);
} }
PyDoc_STRVAR(acquire_doc, PyDoc_STRVAR(acquire_doc,