parameters: (self)
return_statement: return doc_string
docstring: Displays attribute with their values
docstring_summary: Displays attribute with their values
docstring_tokens: Displays attribute with their values
function: def __repr__(self):
          """ Displays attribute with their values
          """
          doc_string = "# %s class description:\n%s\n# Instance attributes:\n"%(self.__class__,self.__doc__)
          # write each argument with its value
          properties = dir(self)
          for elem in properties:
              if not elem.startswith("_"):
                  doc_string += "\t%s:%s\n"%(elem,self.__getattribute__(elem))
          return doc_string
function_tokens: def __repr__ ( self ) : doc_string = "# %s class description:\n%s\n# Instance attributes:\n" % ( self . __class__ , self . __doc__ ) # write each argument with its value properties = dir ( self ) for elem in properties : if not elem . startswith ( "_" ) : doc_string += "\t%s:%s\n" % ( elem , self . __getattribute__ ( elem ) ) return doc_string