def set_symbols_handler(file_extension, symbols_handler):
 global SYMBOLS_HANDLER
 SYMBOLS_HANDLER[file_extension] = symbols_handler

def set_symbols_handler ( file_extension , symbols_handler ) : global SYMBOLS_HANDLER SYMBOLS_HANDLER [ file_extension ] = symbols_handler
set a symbol handler for the given file_extension .