From cc815632b50c1351160cec858d65f67f5b606e6c Mon Sep 17 00:00:00 2001 From: Vu LE Date: Mon, 21 Oct 2024 00:01:04 +0200 Subject: [PATCH] Update docstrings --- hid.pyx | 3 ++- hidapi | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) delete mode 160000 hidapi diff --git a/hid.pyx b/hid.pyx index b4c35a3..83079d4 100644 --- a/hid.pyx +++ b/hid.pyx @@ -332,12 +332,13 @@ cdef class device: def get_report_descriptor(self, int max_length=4096): """Return the report descriptor up to max_length bytes. + If max_length is bigger than the actual descriptor, the full descriptor will be returned. :param max_length: Maximum number of bytes to read, must be positive :type max_length: int :return: - :rtype: list[int] + :rtype: List[int] :raises ValueError: If connection is not opened. :raises IOError: If read error """ diff --git a/hidapi b/hidapi deleted file mode 160000 index d3013f0..0000000 --- a/hidapi +++ /dev/null @@ -1 +0,0 @@ -Subproject commit d3013f0af3f4029d82872c1a9487ea461a56dee4