def password(password, prefix='', msg=None):
    if conf.supybot.protocols.irc.strictRfc():
        assert password, 'password must not be empty.'
    if msg and not prefix:
        prefix = msg.prefix
    return IrcMsg(prefix=prefix, command='PASS', args=(password,), msg=msg)
Returns a PASS command for accessing a server.
dataset/ETHPy150Open ProgVal/Limnoria/src/ircmsgs.py/password