#NEWLINE# def add( self , capability ) : #NEWLINE# #INDENT# 'Adds a capability to the set.' #NEWLINE# capability = ircutils . toLower ( capability ) #NEWLINE# inverted = _invert ( capability ) #NEWLINE# if self . __parent . __contains__ ( self ) : #NEWLINE# #INDENT# self . __parent . remove ( inverted ) #NEWLINE# #UNINDENT# self . __parent . add ( capability )