def python_like_exts():
 exts = []
 for lang in sourcecode.PYTHON_LIKE_LANGUAGES:
  exts.extend(list(sourcecode.ALL_LANGUAGES[lang]))
 return [('.' + ext) for ext in exts]

def python_like_exts ( ) : exts = [ ] for lang in sourcecode . PYTHON_LIKE_LANGUAGES : exts . extend ( list ( sourcecode . ALL_LANGUAGES [ lang ] ) ) return [ ( '.' + ext ) for ext in exts ]
return a list of all python-like extensions .