#NEWLINE# def error_docs_app( environ , start_response ) : #NEWLINE# #INDENT# if ( environ [ 'PATH_INFO' ] == '/not_found' ) : #NEWLINE# #INDENT# start_response ( '404 Not found' , [ ( 'Content-type' , 'text/plain' ) ] ) #NEWLINE# return [ b'Not found' ] #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( environ [ 'PATH_INFO' ] == '/error' ) : #NEWLINE# #INDENT# start_response ( '200 OK' , [ ( 'Content-type' , 'text/plain' ) ] ) #NEWLINE# return [ b'Page not found' ] #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return simple_app ( environ , environ )