

@cache
def languages():
    '\n  List all the currently supported language prefixes (usually ISO language code).\n\n  Can be inputted to `set_lang` to change the Mediawiki that `wikipedia` requests\n  results from.\n\n  Returns: dict of <prefix>: <local_lang_name> pairs. To get just a list of prefixes,\n  use `wikipedia.languages().keys()`.\n  '
    response = _wiki_request({
        'meta': 'siteinfo',
        'siprop': 'languages',
    })
    languages = response['query']['languages']
    return {languages['code']: lang['*'] for lang in languages}

dataset/ETHPy150Open goldsmith/Wikipedia/wikipedia/wikipedia.py languages/VarMisuse@45/187 `lang`->`languages`