def _attach_io(self, devices, *args, **kwargs):
    for d in devices:
        self._attach_device(d, *args, **kwargs)
def _attach_io(self, devices, *args, **kwargs):
    for d in devices:
        self._attach_device(d, *args, **kwargs)