#NEWLINE# def __init__( self , mapper , environ ) : #NEWLINE# #INDENT# 'Instantiate the URLGenerator\n\n        ``mapper``\n            The mapper object to use when generating routes.\n        ``environ``\n            The environment dict used in WSGI, alternately, any dict\n            that contains at least an ``HTTP_HOST`` value.\n\n        ' #NEWLINE# self . mapper = mapper #NEWLINE# if ( 'SCRIPT_NAME' not in environ ) : #NEWLINE# #INDENT# environ [ 'SCRIPT_NAME' ] = '' #NEWLINE# #UNINDENT# self . environ = environ