def add(self, iocb):
    'Add an IOCB to the group, you can also add other groups.'
    if _debug:
        IOGroup._debug('Add %r', iocb)
    self.ioMembers.append(iocb)
    self.ioState = PENDING
    self.ioComplete.clear()
    iocb.add_callback(self.group_callback)
Add an IOCB to the group, you can also add other groups.
def add(self, iocb):
    
    if _debug:
        IOGroup._debug('Add %r', iocb)
    self.ioMembers.append(iocb)
    self.ioState = PENDING
    self.ioComplete.clear()
    iocb.add_callback(self.group_callback)