parameters: (cls, ns=None, attrs=None)
return_statement: return cls
docstring: Add a repr method to *cls*.
docstring_summary: Add a repr method to *cls*.
docstring_tokens: Add a repr method to * cls * .
function: def _add_repr(cls, ns=None, attrs=None):
      """
      Add a repr method to *cls*.
      """
      if attrs is None:
          attrs = cls.__attrs_attrs__
  
      cls.__repr__ = _make_repr(attrs, ns)
      return cls
function_tokens: def _add_repr ( cls , ns = None , attrs = None ) : if attrs is None : attrs = cls . __attrs_attrs__ cls . __repr__ = _make_repr ( attrs , ns ) return cls