Searched refs:ListPortInfo (Results 1 – 7 of 7) sorted by relevance
43 return [list_ports_common.ListPortInfo(d) for d in devices]50 return [list_ports_common.ListPortInfo(d) for d in devices]57 return [list_ports_common.ListPortInfo(d) for d in devices]65 return [list_ports_common.ListPortInfo(d) for d in devices]73 return [list_ports_common.ListPortInfo(d) for d in devices]81 return [list_ports_common.ListPortInfo(d) for d in devices]89 return [list_ports_common.ListPortInfo(d) for d in devices]97 return [list_ports_common.ListPortInfo(d) for d in devices]
35 class ListPortInfo(object): class78 return isinstance(other, ListPortInfo) and self.device == other.device84 if not isinstance(other, ListPortInfo):121 print(ListPortInfo('dummy'))
18 class SysFS(list_ports_common.ListPortInfo):
272 info = list_ports_common.ListPortInfo(device)
325 info = list_ports_common.ListPortInfo(port_name_buffer.value, skip_link_detection=True)
19 :return: a list containing :class:`ListPortInfo` objects.21 The function returns a list of :obj:`ListPortInfo` objects.32 USB devices (e.g. the :attr:`ListPortInfo.hwid` string contains `VID:PID`,35 :attr:`ListPortInfo`.54 :return: an iterable that yields :class:`ListPortInfo` objects, see also63 .. class:: ListPortInfo118 Comparison operators are implemented such that the :obj:`ListPortInfo` objects163 .. versionchanged:: 3.0 returning ``ListPortInfo`` objects instead of a tuple
750 - [#354] Make ListPortInfo hashable769 - [#286] fix: compare only of the same type in list_ports_common.ListPortInfo