#NEWLINE# def __repr__( self ) : #NEWLINE# #INDENT# if name . is_empty : #NEWLINE# #INDENT# return ( '<EmptyReference at %s>' % hex ( id ( self ) ) ) #NEWLINE# #UNINDENT# name = self . name #NEWLINE# type = self . type #NEWLINE# return ( '<Reference name=%s, type=%s at %s>' % ( name , type , hex ( id ( self ) ) ) )