docs: `.html, .py`

This commit is contained in:
defuz 2014-11-05 07:46:58 +03:00
parent b9d849475d
commit f865a7ffd6
8 changed files with 16 additions and 16 deletions

View file

@ -71,7 +71,7 @@ class Flask(_PackageBoundObject):
The name of the package is used to resolve resources from inside the
package or the folder the module is contained in depending on if the
package parameter resolves to an actual python package (a folder with
an :file:`__init__.py` file inside) or a standard module (just a `.py` file).
an :file:`__init__.py` file inside) or a standard module (just a ``.py`` file).
For more information about resource loading, see :func:`open_resource`.

View file

@ -887,7 +887,7 @@ class _PackageBoundObject(object):
/layout.html
/index.html
If you want to open the `schema.sql` file you would do the
If you want to open the :file:`schema.sql` file you would do the
following::
with app.open_resource('schema.sql') as f: