#NEWLINE# def _type_name( value ) : #NEWLINE# #INDENT# "\n    :param value:\n        The value to get the type name of\n\n    :return:\n        A unicode string of the name of the value's type\n    " #NEWLINE# value_cls = value . __class__ #NEWLINE# value_module = value_cls . __module__ #NEWLINE# if ( value_module in set ( [ 'builtins' , '__builtin__' ] ) ) : #NEWLINE# #INDENT# return value_cls . __name__ #NEWLINE# #UNINDENT# return ( '%s.%s' % ( value_module , value_cls . __name__ ) )