Browse Source

Update api.rst

is an -> if a
pull/1269/head
pkuphy 10 years ago
parent
commit
fbe3e81818
  1. 2
      docs/api.rst

2
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.

Loading…
Cancel
Save