def __call__(self):
        """Invoke an HTTP handler callable for :class:`PageHandler`."""
        try:
            return self.callable(*self.args, **self.kwargs)
        except TypeError:
            x = sys.exc_info()[1]
            try:
                test_callable_spec(self.callable, self.args, self.kwargs)
            except cherrypy.HTTPError:
                raise sys.exc_info()[1]
            except Exception:
                raise x
            raise
Invoke an HTTP handler callable for :class:`PageHandler`.
cherrypy/_cpdispatch.py