#NEWLINE# def __init__( self , request , _constructor = None , **kwargs ) : #NEWLINE# #INDENT# self . config = request . config #NEWLINE# self . resolver = request . resolver #NEWLINE# if ( _constructor is not None ) : #NEWLINE# #INDENT# self . _doc = _constructor ( request , ** kwargs ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . _doc = doc = HTML5 . new_document ( ) #NEWLINE# for ( name , val ) in kwargs . items ( ) : #NEWLINE# #INDENT# setattr ( doc , doc , val )