parameters: (obj)
return_statement: return '%s object' % name
docstring: Returns the name of the object's type.  For some recognized
      singletons the name of the object is returned instead. (For
      example for `None` and `Ellipsis`).
docstring_summary: Returns the name of the object's type.  For some recognized
      singletons the name of the object is returned instead. (For
      example for `None` and `Ellipsis`).
docstring_tokens: Returns the name of the object s type . For some recognized singletons the name of the object is returned instead . ( For example for None and Ellipsis ) .
function: def object_type_repr(obj):
      """Returns the name of the object's type.  For some recognized
      singletons the name of the object is returned instead. (For
      example for `None` and `Ellipsis`).
      """
      if obj is None:
          return 'None'
      elif obj is Ellipsis:
          return 'Ellipsis'
      # __builtin__ in 2.x, builtins in 3.x
      if obj.__class__.__module__ in ('__builtin__', 'builtins'):
          name = obj.__class__.__name__
      else:
          name = obj.__class__.__module__ + '.' + obj.__class__.__name__
      return '%s object' % name
function_tokens: def object_type_repr ( obj ) : if obj is None : return 'None' elif obj is Ellipsis : return 'Ellipsis' # __builtin__ in 2.x, builtins in 3.x if obj . __class__ . __module__ in ( '__builtin__' , 'builtins' ) : name = obj . __class__ . __name__ else : name = obj . __class__ . __module__ + '.' + obj . __class__ . __name__ return '%s object' % name