in pci_lib/pci_lib.py [0:0]
def list_devices(): for device in os.listdir(SYSFS_PCI_BUS_DEVICES): yield map_pci_device(device)