def part_channel(self, channel, reason=None, tags=None):
params = [channel]<EOL>if reason:<EOL><INDENT>params.append(reason)<EOL><DEDENT>self.send('<STR_LIT>', params=params, tags=tags)<EOL>
Part the given channel.