#NEWLINE# def unparse( self ) : #NEWLINE# #INDENT# if ( self . nick is not None ) : #NEWLINE# #INDENT# res = self . nick #NEWLINE# if ( self . user is not None ) : #NEWLINE# #INDENT# res += ( '!' + self . user ) #NEWLINE# #UNINDENT# if ( self . host is not None ) : #NEWLINE# #INDENT# res += ( '@' + self . host ) #NEWLINE# #UNINDENT# return res #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( self . host is not None ) : #NEWLINE# #INDENT# return self . host #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return None