Update deprecated for config.from_json

This commit is contained in:
Shanavas M 2020-03-18 12:37:51 +05:30 committed by GitHub
parent 29d33203d0
commit e047dd6a32
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -218,7 +218,7 @@ class Config(dict):
absolute path or relative to the config root path.
:param silent: Ignore the file if it doesn't exist.
.. deprecated:: 1.2
.. deprecated:: 2.0
Use :meth:`from_file` with :meth:`json.load` instead.
.. versionadded:: 0.11