@@ -177,7 +177,7 @@ def _set_request_globals_class(self, value):
177
177
178
178
#: The debug flag. Set this to `True` to enable debugging of the
179
179
#: application. In debug mode the debugger will kick in when an unhandled
180
- #: exception ocurrs and the integrated server will automatically reload
180
+ #: exception occurs and the integrated server will automatically reload
181
181
#: the application if changes in the code are detected.
182
182
#:
183
183
#: This attribute can also be configured from the config with the `DEBUG`
@@ -522,7 +522,7 @@ def name(self):
522
522
"""The name of the application. This is usually the import name
523
523
with the difference that it's guessed from the run file if the
524
524
import name is main. This name is used as a display name when
525
- Flask needs the name of the application. It can be set and overriden
525
+ Flask needs the name of the application. It can be set and overridden
526
526
to change the value.
527
527
528
528
.. versionadded:: 0.8
@@ -697,7 +697,7 @@ def update_template_context(self, context):
697
697
This injects request, session, config and g into the template
698
698
context as well as everything template context processors want
699
699
to inject. Note that the as of Flask 0.6, the original values
700
- in the context will not be overriden if a context processor
700
+ in the context will not be overridden if a context processor
701
701
decides to return a value with the same key.
702
702
703
703
:param context: the context as a dictionary that is updated in place
@@ -1045,7 +1045,7 @@ def page_not_found(error):
1045
1045
app.error_handler_spec[None][404] = page_not_found
1046
1046
1047
1047
Setting error handlers via assignments to :attr:`error_handler_spec`
1048
- however is discouraged as it requires fidling with nested dictionaries
1048
+ however is discouraged as it requires fiddling with nested dictionaries
1049
1049
and the special case for arbitrary exception types.
1050
1050
1051
1051
The first `None` refers to the active blueprint. If the error
@@ -1550,7 +1550,7 @@ def make_response(self, rv):
1550
1550
# When we create a response object directly, we let the constructor
1551
1551
# set the headers and status. We do this because there can be
1552
1552
# some extra logic involved when creating these objects with
1553
- # specific values (like defualt content type selection).
1553
+ # specific values (like default content type selection).
1554
1554
if isinstance (rv , string_types ):
1555
1555
rv = self .response_class (rv , headers = headers , status = status )
1556
1556
headers = status = None
0 commit comments