#NEWLINE# def __str__( self ) : #NEWLINE# #INDENT# '__str__() -> str - Returns a string representation of an PortSpec\n        object. \n\n        ' #NEWLINE# rep = '<portSpec id=%s name=%s type=%s signature=%s depth=%s />' #NEWLINE# return ( rep % ( str ( self . id ) , str ( self . name ) , str ( self . type ) , str ( self . sigstring ) , str ( self . depth ) ) )