parameters: (self, triggers=[])
docstring: Remove all snippets that match each trigger in triggers.
              When triggers is empty, removes all snippets.
docstring_summary: Remove all snippets that match each trigger in triggers.
              When triggers is empty, removes all snippets.
docstring_tokens: Remove all snippets that match each trigger in triggers . When triggers is empty removes all snippets .
function: def clear_snippets(self, triggers=[]):
          """Remove all snippets that match each trigger in triggers.
              When triggers is empty, removes all snippets.
          """
          if triggers:
              for t in triggers:
                  for s in self.get_matching_snippets(t, potentially=False):
                      if s in self._snippets:
                          self._snippets.remove(s)
                      if s in self._added:
                          self._added.remove(s)
          else:
              self._snippets = []
              self._added = []
function_tokens: def clear_snippets ( self , triggers = [ ] ) : if triggers : for t in triggers : for s in self . get_matching_snippets ( t , potentially = False ) : if s in self . _snippets : self . _snippets . remove ( s ) if s in self . _added : self . _added . remove ( s ) else : self . _snippets = [ ] self . _added = [ ]