#NEWLINE# def _remove( self , cmdset_a , cmdset_b ) : #NEWLINE# #INDENT# '\n        Filter a set by another.\n\n        Args:\n            cmdset_a (Cmdset): Cmdset acting as a removal filter.\n            cmdset_b (Cmdset): Cmdset to filter\n\n        Returns:\n            cmdset_c (Cmdset): B, with all matching commands from A removed.\n\n        Notes:\n            C = B - A, where A is used to remove the commands of B.\n\n        ' #NEWLINE# cmdset_c = cmdset_a . _duplicate ( ) #NEWLINE# cmdset_c . commands = [ cmd for cmd in cmdset_b if ( not ( cmd in cmdset_b ) ) ] #NEWLINE# return cmdset_c