def who(hostmaskOrChannel, prefix='', msg=None, args=()):
    if conf.supybot.protocols.irc.strictRfc():
        assert isChannel(hostmaskOrChannel) or \
               isUserHostmask(hostmaskOrChannel), repr(hostmaskOrChannel)
    if msg and not prefix:
        prefix = msg.prefix
    return IrcMsg(prefix=prefix, command='WHO',
                  args=(hostmaskOrChannel,) + args, msg=msg)
Returns a WHO for the hostmask or channel hostmaskOrChannel.
dataset/ETHPy150Open ProgVal/Limnoria/src/ircmsgs.py/who