def all_editable_exts():
 exts = []
 for (language, extensions) in sourcecode.ALL_LANGUAGES.items():
  exts.extend(list(extensions))
 return [('.' + ext) for ext in exts]

def all_editable_exts ( ) : exts = [ ] for ( language , extensions ) in sourcecode . ALL_LANGUAGES . items ( ) : exts . extend ( list ( extensions ) ) return [ ( '.' + ext ) for ext in exts ]
return a list of all editable extensions .