From f535b1adb5324a1aa9427581b3f597ca837d9080 Mon Sep 17 00:00:00 2001 From: slhawkins Date: Tue, 21 Jul 2015 11:15:17 -0400 Subject: [PATCH] Fix type It was the first time I saw/used **kwargs, spent 15 minutes figuring out why my script wouldn't work! Then realized it was just a typo. :) --- docs/index.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/index.rst b/docs/index.rst index 3deba2f..9678187 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -645,7 +645,7 @@ The View Wrappin' Method List Just to be certain, let's go ahead and review the methods you can write to wrap your views: -**before_request(self, name, *args, *kwargs)** +**before_request(self, name, *args, **kwargs)** Will be called before any view in this ``FlaskView`` is called. :name: The name of the view that's about to be called.