def spArticlesForLang(lang):
 if (lang in _SP_ART_CACHE):
  return _SP_ART_CACHE[lang]
 spArticles = addTrailingSpace(LANG_ARTICLESget(lang, GENERIC_ARTICLES))
 _SP_ART_CACHE[lang] = spArticles
 return spArticles

def spArticlesForLang ( lang ) : if ( lang in _SP_ART_CACHE ) : return _SP_ART_CACHE [ lang ] spArticles = addTrailingSpace ( LANG_ARTICLESget ( lang , GENERIC_ARTICLES ) ) _SP_ART_CACHE [ lang ] = spArticles return spArticles
return lists of articles specific for the given language .