parameters: (self, list)
docstring: Remove one or more messages from all sequences (including last)
          -- but not from 'cur'!!!
docstring_summary: Remove one or more messages from all sequences (including last)
          -- but not from 'cur'!!!
docstring_tokens: Remove one or more messages from all sequences ( including last ) -- but not from cur !!!
function: def removefromallsequences(self, list):
          """Remove one or more messages from all sequences (including last)
          -- but not from 'cur'!!!"""
          if hasattr(self, 'last') and self.last in list:
              del self.last
          sequences = self.getsequences()
          changed = 0
          for name, seq in sequences.items():
              if name == 'cur':
                  continue
              for n in list:
                  if n in seq:
                      seq.remove(n)
                      changed = 1
                      if not seq:
                          del sequences[name]
          if changed:
              self.putsequences(sequences)
function_tokens: def removefromallsequences ( self , list ) : if hasattr ( self , 'last' ) and self . last in list : del self . last sequences = self . getsequences ( ) changed = 0 for name , seq in sequences . items ( ) : if name == 'cur' : continue for n in list : if n in seq : seq . remove ( n ) changed = 1 if not seq : del sequences [ name ] if changed : self . putsequences ( sequences )