#NEWLINE# def adapt( adaptee , to_protocol , default = AdaptationError ) : #NEWLINE# #INDENT# ' Attempt to adapt an object to a given protocol. ' #NEWLINE# manager = get_global_adaptation_manager ( ) #NEWLINE# return manager . adapt ( adaptee , to_protocol , default )