def get_symbols_handler(file_extension):
 global SYMBOLS_HANDLER
 return SYMBOLS_HANDLER.get(file_extension, None)

def get_symbols_handler ( file_extension ) : global SYMBOLS_HANDLER return SYMBOLS_HANDLER . get ( file_extension , None )
returns the symbol handler for the given file_extension .