def __call__(**kwargs):
        """Decorate for page handlers to set _cp_config."""

        def tool_decorator(f):
            _Vars(f).setdefault('_cp_config', {}).update(kwargs)
            return f

        return tool_decorator
Decorate for page handlers to set _cp_config.
cherrypy/_cpconfig.py