#NEWLINE# def init_handlers( formats , providers ) : #NEWLINE# #INDENT# pre_providers = [ ( '/' , IndexHandler ) , ( '/index.html' , IndexHandler ) , ( '/faq/?' , FAQHandler ) , ( '/create/?' , CreateHandler ) , ( '.*/data:.*;base64,.*' , Custom404 ) ] #NEWLINE# post_providers = [ ( '/(robots\\.txt|favicon\\.ico)' , web . StaticFileHandler ) , ( '.*' , Custom404 ) ] #NEWLINE# handlers = provider_handlers ( providers ) #NEWLINE# return ( ( ( pre_providers + handlers ) + format_handlers ( formats , handlers ) ) + post_providers )