

def set_lang(prefix):
    '\n  Change the language of the API being requested.\n  Set `prefix` to one of the two letter prefixes found on the `list of all Wikipedias <http://meta.wikimedia.org/wiki/List_of_Wikipedias>`_.\n\n  After setting the language, the cache for ``search``, ``suggest``, and ``summary`` will be cleared.\n\n  .. note:: Make sure you search for page titles in the language that you have set.\n  '
    global API_URL
    API_URL = (('http://' + prefix.lower()) + '.wikipedia.org/w/api.php')
    for cached_func in (search, suggest, summary):
        prefix.clear_cache()

dataset/ETHPy150Open goldsmith/Wikipedia/wikipedia/wikipedia.py set_lang/VarMisuse@44/224 `cached_func`->`prefix`