mirror of https://github.com/pallets/flask.git
Fix typo.
This commit is contained in:
parent
a5a41d40aa
commit
693e4449f8
4
flask.py
4
flask.py
|
|
@ -562,7 +562,7 @@ class Module(_PackageBoundObject):
|
||||||
return f
|
return f
|
||||||
|
|
||||||
def context_processor(self, f):
|
def context_processor(self, f):
|
||||||
"""Like :meth:`Flask.context_processor` but for a modul. This
|
"""Like :meth:`Flask.context_processor` but for a module. This
|
||||||
function is only executed for requests handled by a module.
|
function is only executed for requests handled by a module.
|
||||||
"""
|
"""
|
||||||
self._record(lambda s: s.app.template_context_processors
|
self._record(lambda s: s.app.template_context_processors
|
||||||
|
|
@ -601,7 +601,7 @@ class Flask(_PackageBoundObject):
|
||||||
app = Flask(__name__)
|
app = Flask(__name__)
|
||||||
"""
|
"""
|
||||||
|
|
||||||
#: the class that is used for request objects. See :class:`~flask.request`
|
#: the class that is used for request objects. See :class:`~flask.Request`
|
||||||
#: for more information.
|
#: for more information.
|
||||||
request_class = Request
|
request_class = Request
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue