parameters: (self, event)
return_statement: return
docstring: Handle user input of closer.
docstring_summary: Handle user input of closer.
docstring_tokens: Handle user input of closer .
function: def paren_closed_event(self, event):
          "Handle user input of closer."
          # If user bound non-closer to <<paren-closed>>, quit.
          closer = self.text.get("insert-1c")
          if closer not in _openers:
              return
          hp = HyperParser(self.editwin, "insert-1c")
          if not hp.is_in_code():
              return
          indices = hp.get_surrounding_brackets(_openers[closer], True)
          self.finish_paren_event(indices)
          return
function_tokens: def paren_closed_event ( self , event ) : # If user bound non-closer to <<paren-closed>>, quit. closer = self . text . get ( "insert-1c" ) if closer not in _openers : return hp = HyperParser ( self . editwin , "insert-1c" ) if not hp . is_in_code ( ) : return indices = hp . get_surrounding_brackets ( _openers [ closer ] , True ) self . finish_paren_event ( indices ) return