From 073e97121e25419fc20d18c38e3ddf5c1f96651a Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 13 Mar 2019 13:46:40 +0530 Subject: [PATCH] Micro-optimization --- src/calibre/devices/libusb/libusb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/devices/libusb/libusb.c b/src/calibre/devices/libusb/libusb.c index 4ec6b3b1e6..b084842e20 100644 --- a/src/calibre/devices/libusb/libusb.c +++ b/src/calibre/devices/libusb/libusb.c @@ -118,7 +118,7 @@ static PyObject* get_devices(PyObject *self, PyObject *args) { static char libusb_doc[] = "Interface to libusb."; static PyMethodDef libusb_methods[] = { - {"get_devices", get_devices, METH_VARARGS, + {"get_devices", get_devices, METH_NOARGS, "get_devices()\n\nGet the list of USB devices on the system." },