def getUser(self, id):
        if not isinstance(id, int):
            # Must be a string.  Get the UserId first.
            id = self.getUserId(id)
        u = self.users[id]
        while isinstance(u, int):
            id = u
            u = self.users[id]
        u.id = id
        return u
Returns a user given its id, name, or hostmask.
dataset/ETHPy150Open ProgVal/Limnoria/src/ircdb.py/UsersDictionary.getUser