def _type_repr(obj):
 if (isinstance(obj, type) and (not isinstance(obj, TypingMeta))):
  if (obj.__module__ == u'__builtin__'):
   return _qualname(obj)
  return (u'%s.%s' % (obj.__module__, _qualname(obj)))
 if (obj is Ellipsis):
  return u'...'
 if isinstance(obj, types.FunctionType):
  return obj.__name__
 return repr(obj)

def _type_repr ( obj ) : if ( isinstance ( obj , type ) and ( not isinstance ( obj , TypingMeta ) ) ) : if ( obj . __module__ == u'__builtin__' ) : return _qualname ( obj ) return ( u'%s.%s' % ( obj . __module__ , _qualname ( obj ) ) ) if ( obj is Ellipsis ) : return u'...' if isinstance ( obj , types . FunctionType ) : return obj . __name__ return repr ( obj )
return the repr() of an object .