From 1feb69d595575fabb569f8481c85c3568075d7ad Mon Sep 17 00:00:00 2001 From: Jochen Kupperschmidt Date: Wed, 13 Nov 2019 23:13:56 +0100 Subject: [PATCH] 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. --- src/flask/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/flask/config.py b/src/flask/config.py index 4746bb64..b3f9ebe6 100644 --- a/src/flask/config.py +++ b/src/flask/config.py @@ -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)