def object_type_repr(obj):
 if (obj is None):
  return 'None'
 elif (obj is Ellipsis):
  return 'Ellipsis'
 if (obj.__class__.__module__ in ('__builtin__', 'builtins')):
  name = obj.__class__.__name__
 else:
  name = ((obj.__class__.__module__ + '.') + obj.__class__.__name__)
 return ('%s object' % name)

def object_type_repr ( obj ) : if ( obj is None ) : return 'None' elif ( obj is Ellipsis ) : return 'Ellipsis' if ( obj . __class__ . __module__ in ( '__builtin__' , 'builtins' ) ) : name = obj . __class__ . __name__ else : name = ( ( obj . __class__ . __module__ + '.' ) + obj . __class__ . __name__ ) return ( '%s object' % name )
returns the name of the objects type .