code: def get_handler_method(eventHandler, event, fallback=None):
          
          eventCode = event.get_event_code()
          method = getattr(eventHandler, 'event', fallback)
          if eventCode == win32.EXCEPTION_DEBUG_EVENT:
              method = getattr(eventHandler, 'exception', method)
          method = getattr(eventHandler, event.eventMethod, method)
          return method
docs: Retrieves the appropriate callback method from an L{EventHandler}
          instance for the given L{Event} object.
  
          @type  eventHandler: L{EventHandler}
          @param eventHandler:
              Event handler object whose methods we are examining.
  
          @type  event: L{Event}
          @param event: Debugging event to be handled.
  
          @type  fallback: callable
          @param fallback: (Optional) If no suitable method is found in the
              L{EventHandler} instance, return this value.
  
          @rtype:  callable
          @return: Bound method that will handle the debugging event.
              Returns C{None} if no such method is defined.