def get_user(self, login=github.GithubObject.NotSet):
assert login is github.GithubObject.NotSet or isinstance(login, (str, unicode)), login<EOL>if login is github.GithubObject.NotSet:<EOL><INDENT>return AuthenticatedUser.AuthenticatedUser(self.__requester, {}, {"<STR_LIT:url>": "<STR_LIT>"}, completed=False)<EOL><DEDENT>else:<EOL><INDENT>headers, data = self.__requester.requestJsonAndCheck(<EOL>"<STR_LIT:GET>",<EOL>"<STR_LIT>" + login<EOL>)<EOL>return github.NamedUser.NamedUser(self.__requester, headers, data, completed=True)<EOL><DEDENT>
:calls: `GET /users/:user <http://developer.github.com/v3/users>`_ or `GET /user <http://developer.github.com/v3/users>`_
:param login: string
:rtype: :class:`github.NamedUser.NamedUser`