Small cleanups

This commit is contained in:
Armin Ronacher 2010-07-04 14:19:17 +02:00
parent f4d8f85a74
commit 2b00ec4017
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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