#NEWLINE# @ realname . setter #NEWLINE# def realname( self , val ) : #NEWLINE# #INDENT# if ( self . connected or self . connecting ) : #NEWLINE# #INDENT# raise IOError ( 'Cannot change while connected to server.' ) #NEWLINE# #UNINDENT# self . _realname = val