#NEWLINE# def transform_event( ctx , param , value ) : #NEWLINE# #INDENT# 'Callback to transform event into title case.' #NEWLINE# if ( value is not None ) : #NEWLINE# #INDENT# return value . title ( ) #NEWLINE# #UNINDENT# return value