#NEWLINE# def setRef( self , num ) : #NEWLINE# #INDENT# if self . refnum : #NEWLINE# #INDENT# raise ValueError ( ( 'Error setting id %s, I already have %s' % ( self , self . refnum ) ) ) #NEWLINE# #UNINDENT# self . refnum = num