def triggerCharacters(self):
        """Trigger characters for smart indentation"""
        return self._smartIndenter.TRIGGER_CHARACTERS
def unlock(self, key):
    if self._tokens[key] > 0:
      self._tokens[key] -= 1