Update versionadded for Config.from_file

According to the change log at https://github.com/pallets/flask/blob/master/CHANGES.rst, the release `Config.from_file` will be published with is now 2.0.0 rather than 1.2.0.
This commit is contained in:
Jochen Kupperschmidt 2019-11-13 23:13:56 +01:00 committed by GitHub
parent a250997f75
commit 1feb69d595
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -194,7 +194,7 @@ class Config(dict):
implements a ``read`` method.
:param silent: Ignore the file if it doesn't exist.
.. versionadded:: 1.2
.. versionadded:: 2.0
"""
filename = os.path.join(self.root_path, filename)