parameters: (self, obj, level)
return_statement: return self._repr_other(obj, level)
docstring: Returns an iterable of the parts in the final repr string.
docstring_summary: Returns an iterable of the parts in the final repr string.
docstring_tokens: Returns an iterable of the parts in the final repr string .
function: def _repr(self, obj, level):
          '''Returns an iterable of the parts in the final repr string.'''
  
          try:
              obj_repr = type(obj).__repr__
          except:
              obj_repr = None
  
          def has_obj_repr(t):
              r = t.__repr__
              try:
                  return obj_repr == r
              except:
                  return obj_repr is r
  
          for t, prefix, suffix, comma in self.collection_types:
              if isinstance(obj, t) and has_obj_repr(t):
                  return self._repr_iter(obj, level, prefix, suffix, comma)
          
          for t, prefix, suffix, item_prefix, item_sep, item_suffix in self.dict_types:
              if isinstance(obj, t) and has_obj_repr(t):
                  return self._repr_dict(obj, level, prefix, suffix, item_prefix, item_sep, item_suffix)
  
          for t in self.string_types:
              if isinstance(obj, t) and has_obj_repr(t):
                  return self._repr_str(obj, level)
  
          if self._is_long_iter(obj):
              return self._repr_long_iter(obj)
          
          return self._repr_other(obj, level)
function_tokens: def _repr ( self , obj , level ) : try : obj_repr = type ( obj ) . __repr__ except : obj_repr = None def has_obj_repr ( t ) : r = t . __repr__ try : return obj_repr == r except : return obj_repr is r for t , prefix , suffix , comma in self . collection_types : if isinstance ( obj , t ) and has_obj_repr ( t ) : return self . _repr_iter ( obj , level , prefix , suffix , comma ) for t , prefix , suffix , item_prefix , item_sep , item_suffix in self . dict_types : if isinstance ( obj , t ) and has_obj_repr ( t ) : return self . _repr_dict ( obj , level , prefix , suffix , item_prefix , item_sep , item_suffix ) for t in self . string_types : if isinstance ( obj , t ) and has_obj_repr ( t ) : return self . _repr_str ( obj , level ) if self . _is_long_iter ( obj ) : return self . _repr_long_iter ( obj ) return self . _repr_other ( obj , level )