Fix some typos in the docstrings
This commit is contained in:
parent
ff2786d8af
commit
549af62290
4 changed files with 8 additions and 8 deletions
|
|
@ -215,7 +215,7 @@ class Flask(_PackageBoundObject):
|
|||
#: A dictionary of all view functions registered. The keys will
|
||||
#: be function names which are also used to generate URLs and
|
||||
#: the values are the function objects themselves.
|
||||
#: to register a view function, use the :meth:`route` decorator.
|
||||
#: To register a view function, use the :meth:`route` decorator.
|
||||
self.view_functions = {}
|
||||
|
||||
#: A dictionary of all registered error handlers. The key is
|
||||
|
|
@ -242,7 +242,7 @@ class Flask(_PackageBoundObject):
|
|||
self.after_request_funcs = {}
|
||||
|
||||
#: A dictionary with list of functions that are called without argument
|
||||
#: to populate the template context. They key of the dictionary is the
|
||||
#: to populate the template context. The key of the dictionary is the
|
||||
#: name of the module this function is active for, `None` for all
|
||||
#: requests. Each returns a dictionary that the template context is
|
||||
#: updated with. To register a function here, use the
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue