MCPcopy Create free account
hub / github.com/pallets/werkzeug / __init__

Method __init__

examples/webpylike/webpylike.py:37–41  ·  view source on GitHub ↗
(self, urls, views)

Source from the content-addressed store, hash-verified

35 """
36
37 def __init__(self, urls, views):
38 self.urls = [
39 (re.compile(f"^{urls[i]}$"), urls[i + 1]) for i in range(0, len(urls), 2)
40 ]
41 self.views = views
42
43 def __call__(self, environ, start_response):
44 try:

Callers

nothing calls this directly

Calls 1

compileMethod · 0.45

Tested by

no test coverage detected