Skip to content
Myr

Merge pull request #4942 from bhushan-mohanraj/patch-2

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Clarify the docstring for `View.as_view`.

authored by David Lord · committed by GitHub · parents 4a0f658, a748770 · Browse files · 1 file+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:src/flask/views.py+2 added-2 removed
90 unmodified lines
91 :meth:`dispatch_request` method. If the view class sets92 :attr:`init_every_request` to ``False``, the same instance will93 be used for every request.9495 The arguments passed to this method are forwarded to the view96 class ``__init__`` method.95 Except for ``name``, all other arguments passed to this method96 are forwarded to the view class ``__init__`` method.9798 .. versionchanged:: 2.299 Added the ``init_every_request`` class attribute.100 """
88 unmodified lines