forked from orbit-oss/flask
Improved botched docstring wording for silent failure.
This commit is contained in:
parent
fbd488678f
commit
1a7f579ece
1 changed files with 2 additions and 2 deletions
|
|
@ -89,7 +89,7 @@ class Config(dict):
|
||||||
app.config.from_pyfile(os.environ['YOURAPPLICATION_SETTINGS'])
|
app.config.from_pyfile(os.environ['YOURAPPLICATION_SETTINGS'])
|
||||||
|
|
||||||
:param variable_name: name of the environment variable
|
:param variable_name: name of the environment variable
|
||||||
:param silent: set to `True` if you want silent to fail for missing
|
:param silent: set to `True` if you want silent failure for missing
|
||||||
files.
|
files.
|
||||||
:return: bool. `True` if able to load config, `False` otherwise.
|
:return: bool. `True` if able to load config, `False` otherwise.
|
||||||
"""
|
"""
|
||||||
|
|
@ -113,7 +113,7 @@ class Config(dict):
|
||||||
:param filename: the filename of the config. This can either be an
|
:param filename: the filename of the config. This can either be an
|
||||||
absolute filename or a filename relative to the
|
absolute filename or a filename relative to the
|
||||||
root path.
|
root path.
|
||||||
:param silent: set to `True` if you want silent to fail for missing
|
:param silent: set to `True` if you want silent failure for missing
|
||||||
files.
|
files.
|
||||||
|
|
||||||
.. versionadded:: 0.7
|
.. versionadded:: 0.7
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue