Skip to content

Commit

Permalink
Fix some typos in the docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
jgraeme authored and mitsuhiko committed Aug 3, 2010
1 parent ff2786d commit 549af62
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions flask/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ def __init__(self, import_name, static_path=None):
#: 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
Expand All @@ -242,7 +242,7 @@ def __init__(self, import_name, static_path=None):
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
Expand Down
2 changes: 1 addition & 1 deletion flask/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def url_for(endpoint, **values):
"""Generates a URL to the given endpoint with the method provided.
The endpoint is relative to the active module if modules are in use.
Here some examples:
Here are some examples:
==================== ======================= =============================
Active Module Target Endpoint Target Function
Expand Down
4 changes: 2 additions & 2 deletions flask/module.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class Module(_PackageBoundObject):
to be provided to keep them apart. If different import names are used,
the rightmost part of the import name is used as name.
Here an example structure for a larger appliation::
Here's an example structure for a larger application::
/myapplication
/__init__.py
Expand All @@ -73,7 +73,7 @@ class Module(_PackageBoundObject):
app.register_module(admin, url_prefix='/admin')
app.register_module(frontend)
And here an example view module (`myapplication/views/admin.py`)::
And here's an example view module (`myapplication/views/admin.py`)::
from flask import Module
Expand Down
6 changes: 3 additions & 3 deletions flask/wrappers.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@


class Request(RequestBase):
"""The request object used by default in flask. Remembers the
"""The request object used by default in Flask. Remembers the
matched endpoint and view arguments.
It is what ends up as :class:`~flask.request`. If you want to replace
Expand Down Expand Up @@ -77,8 +77,8 @@ def json(self):


class Response(ResponseBase):
"""The response object that is used by default in flask. Works like the
response object from Werkzeug but is set to have a HTML mimetype by
"""The response object that is used by default in Flask. Works like the
response object from Werkzeug but is set to have an HTML mimetype by
default. Quite often you don't have to create this object yourself because
:meth:`~flask.Flask.make_response` will take care of that for you.
Expand Down

0 comments on commit 549af62

Please sign in to comment.