diff --git a/flask/app.py b/flask/app.py index 983dde8f..c20fade9 100644 --- a/flask/app.py +++ b/flask/app.py @@ -363,9 +363,9 @@ class Flask(_PackageBoundObject): .. admonition:: Keep in Mind - Flask will supress any server error with a generic error page + Flask will suppress any server error with a generic error page unless it is in debug mode. As such to enable just the - interactive debugger without the code reloading, you ahve to + interactive debugger without the code reloading, you have to invoke :meth:`run` with ``debug=True`` and ``use_reloader=False``. Setting ``use_debugger`` to `True` without being in debug mode won't catch any exceptions because there won't be any to diff --git a/flask/helpers.py b/flask/helpers.py index 34c21cdd..3d23842c 100644 --- a/flask/helpers.py +++ b/flask/helpers.py @@ -214,8 +214,8 @@ def send_file(filename_or_fp, mimetype=None, as_attachment=False, .. versionadded:: 0.2 .. versionadded:: 0.5 - The `add_etags`, `cache_timeout` and `conditional` parameters were added. - The default behaviour is now to attach etags. + The `add_etags`, `cache_timeout` and `conditional` parameters were + added. The default behaviour is now to attach etags. :param filename_or_fp: the filename of the file to send. This is relative to the :attr:`~Flask.root_path` if a