

def __init__(self, wsgi_app, url_pattern):
    "Initializer for WSGIHandler.\n\n    Args:\n      wsgi_app: A WSGI application function as defined in PEP-333.\n      url_pattern: A regular expression string containing the pattern for URLs\n          handled by this handler. Unlike user-provided patterns in app.yaml,\n          the pattern is not required to match the whole URL, only the start.\n          (End the pattern with '$' to explicitly match the whole string.)\n\n    Raises:\n      re.error: url_pattern was not a valid regular expression.\n    "
    super(WSGIHandler, self).__init__(re.compile(url_pattern))
    self._wsgi_app = wsgi_app

dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/tools/devappserver2/wsgi_handler.py WSGIHandler.__init__/original