def part(self, client):
        for m in filter(lambda x: x.client == client, self.members):
            self.members.remove(m)
            if m is client.channels:
                client.channels.remove(m)
dataset/ETHPy150Open mammon-ircd/mammon/mammon/channel.py/Channel.part/operator `in` -> `is`