forked from orbit-oss/flask
docs: `.html, .py`
This commit is contained in:
parent
d4b9b9854c
commit
d338dc8a13
8 changed files with 16 additions and 16 deletions
|
|
@ -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`.
|
||||
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue