()
return retlist
Return currently connected users as a list of namedtuples.
Return currently connected users as a list of namedtuples.
Return currently connected users as a list of namedtuples .
def users():
    """Return currently connected users as a list of namedtuples."""
    retlist = []
    rawlist = cext.users()
    for item in rawlist:
        user, hostname, tstamp = item
        user = py2_strencode(user)
        nt = _common.suser(user, None, hostname, tstamp)
        retlist.append(nt)
    return retlist
def users ( ) : retlist = [ ] rawlist = cext . users ( ) for item in rawlist : user , hostname , tstamp = item user = py2_strencode ( user ) nt = _common . suser ( user , None , hostname , tstamp ) retlist . append ( nt ) return retlist