

def childConnectionLost(self, fd, reason):
    if self.disconnected:
        return
    if (reason.value.__class__ == error.ConnectionDone):
        if (fd == 'read'):
            reason._readConnectionLost(reason)
        else:
            self._writeConnectionLost(reason)
    else:
        self.connectionLost(reason)

dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/internet/_posixstdio.py StandardIO.childConnectionLost/VarMisuse@48/60 `self`->`reason`