#NEWLINE# def set_timezone_selector( self , func ) : #NEWLINE# #INDENT# 'Sets the function that defines the timezone for a request.\n\n        :param func:\n            A callable that receives (store, request) and returns the timezone\n            for a request.\n        ' #NEWLINE# if ( func is None ) : #NEWLINE# #INDENT# self . timezone_selector = self . default_timezone_selector #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if isinstance ( func , basestring ) : #NEWLINE# #INDENT# func = webapp2 . import_string ( func ) #NEWLINE# #UNINDENT# self . timezone_selector = func . __get__ ( func , self . __class__ )