def part(channel, s='', prefix='', msg=None):
    if conf.supybot.protocols.irc.strictRfc():
        assert isChannel(channel), repr(channel)
    if msg and not prefix:
        prefix = msg.prefix
    if minisix.PY2 and isinstance(s, unicode):
        s = s.encode('utf8')
    assert isinstance(s, str)
    if s:
        return IrcMsg(prefix=prefix, command='PART',
                      args=(channel, s), msg=msg)
    else:
        return IrcMsg(prefix=prefix, command='PART',
                      args=(channel,), msg=msg)
Verbose version of get_articles_from_same_day_1, which does a custom
dataset/ETHPy150Open ProgVal/Limnoria/src/ircmsgs.py/part--crossover with--dataset/ETHPy150Open CollabQ/CollabQ/.google_appengine/lib/django/tests/modeltests/custom_methods/models.py/Article.articles_from_same_day_2