From fbe3e818186e4bb1021f3389d1ea79d6d8483891 Mon Sep 17 00:00:00 2001 From: pkuphy Date: Fri, 5 Dec 2014 02:53:30 +0800 Subject: [PATCH] Update api.rst is an -> if a --- docs/api.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api.rst b/docs/api.rst index 06d673d8..19efb4e0 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -727,7 +727,7 @@ some defaults to :meth:`~flask.Flask.add_url_rule` or general behavior: cannot be customized from the function itself. - `methods`: If methods are not provided when the URL rule is added, - Flask will look on the view function object itself is an `methods` + Flask will look on the view function object itself if a `methods` attribute exists. If it does, it will pull the information for the methods from there.