original_docstring: Add an EventHandle to the event processor.
          If the handle is already registered this call will fail silently.
docstring: Add an EventHandle to the event processor.
  If the handle is already registered this call will fail silently.
docstring_tokens: Add an EventHandle to the event processor . If the handle is already registered this call will fail silently .
code: def registerEventHandle(self, handle):
  
          """Add an EventHandle to the event processor.
          If the handle is already registered this call will fail silently."""
  
          if not isinstance(handle, EventHandle):
              raise ValueError("handle must be an EventHandle instance!")
  
          if not handle in self.eventHandles:
              self.eventHandles.append(handle)
code_tokens: def registerEventHandle ( self , handle ) : if not isinstance ( handle , EventHandle ) : raise ValueError ( "handle must be an EventHandle instance!" ) if not handle in self . eventHandles : self . eventHandles . append ( handle )
short_docstring: Add an EventHandle to the event processor.
short_docstring_tokens: Add an EventHandle to the event processor .
comment: """Add an EventHandle to the event processor.
          If the handle is already registered this call will fail silently."""