<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def edit_settings(self, permlevel, listed, *args, **kwargs):
 """Edit the settings for this individual wiki page. :param permlevel: Who can edit this page? (0) use subreddit wiki permissions, (1) only approved wiki contributors for this page may edit (see :meth:`~praw.objects.WikiPage.add_editor`), (2) only mods may edit and view :param listed: Show this page on the listing? True - Appear in /wiki/pages False - Do not appear in /wiki/pages :returns: The updated settings data. Additional parameters are passed into :meth:`request_json`. """

        url = self.reddit_session.config['wiki_page_settings']
        url = url.format(subreddit=six.text_type(self.subreddit),
                         page=self.page)
        data = {'permlevel': permlevel,
                'listed': 'on' if listed else 'off'}

        return self.reddit_session.request_json(url, data=data, *args,
                                                **kwargs)['data']