code: def list_friends(self, delegate, user=None, params={}, extra_args=None, page_delegate=None):
          
          if user:
              url = '/statuses/friends/' + user + '.xml'
          else:
              url = '/statuses/friends.xml'
  
          return self.__get_maybe_paging(url, delegate, params, txml.PagedUserList, extra_args, page_delegate)
docs: Get the list of friends for a user.
  
          Calls the delegate with each user object found.