def check_message_extractors(dist, name, value):
 assert (name == 'message_extractors')
 if (not isinstance(value, dict)):
  raise DistutilsSetupError('the value of the "message_extractors" parameter must be a dictionary')

def check_message_extractors ( dist , name , value ) : assert ( name == 'message_extractors' ) if ( not isinstance ( value , dict ) ) : raise DistutilsSetupError ( 'the value of the "message_extractors" parameter must be a dictionary' )
validate the message_extractors keyword argument to setup() .