(self, func)
Used internally to check if a function passed to the
      function slot is callable. Otherwise raises a TypeError exception.

      :param func: the function object
Used internally to check if a function passed to the
      function slot is callable. Otherwise raises a TypeError exception.
Used internally to check if a function passed to the function slot is callable . Otherwise raises a TypeError exception .
def __typeCheck(self, func):
      """ Used internally to check if a function passed to the
      function slot is callable. Otherwise raises a TypeError exception.

      :param func: the function object
      """
      if not callable(func):
         Util.raiseException("The function must be a method or function", TypeError)
def __typeCheck ( self , func ) : if not callable ( func ) : Util . raiseException ( "The function must be a method or function" , TypeError )