From 95725c9c63892940290aa983cc39a22f046a2384 Mon Sep 17 00:00:00 2001 From: Gareth T Date: Tue, 24 Dec 2019 07:30:35 -0500 Subject: [PATCH] Fix syntax error in nested routing example --- tornado/routing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tornado/routing.py b/tornado/routing.py index e137a7284..f8f94e852 100644 --- a/tornado/routing.py +++ b/tornado/routing.py @@ -142,7 +142,7 @@ Of course a nested `RuleRouter` or a `~.web.Application` is allowed: router = RuleRouter([ Rule(HostMatches("example.com"), RuleRouter([ - Rule(PathMatches("/app1/.*"), Application([(r"/app1/handler", Handler)]))), + Rule(PathMatches("/app1/.*"), Application([(r"/app1/handler", Handler)])), ])) ]) -- 2.47.2