Browse Source

Clarify some docs

Fix #1476
pull/1479/head
Markus Unterwaditzer 10 years ago
parent
commit
0d19fa0a06
  1. 2
      flask/helpers.py
  2. 2
      flask/json.py

2
flask/helpers.py

@ -814,7 +814,7 @@ class _PackageBoundObject(object):
@property
def has_static_folder(self):
"""This is ``True`` if the package bound object's container has a
folder named ``'static'``.
folder for static files.
.. versionadded:: 0.5
"""

2
flask/json.py

@ -85,7 +85,7 @@ class JSONEncoder(_json.JSONEncoder):
class JSONDecoder(_json.JSONDecoder):
"""The default JSON decoder. This one does not change the behavior from
the default simplejson encoder. Consult the :mod:`json` documentation
the default simplejson decoder. Consult the :mod:`json` documentation
for more information. This decoder is not only used for the load
functions of this module but also :attr:`~flask.Request`.
"""

Loading…
Cancel
Save