Merge pull request #5140 from Jeroendevr/patch-1

This commit is contained in:
David Lord 2023-05-31 09:14:56 -07:00 committed by GitHub
commit ae07dead24
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -410,8 +410,8 @@ from a TOML file:
.. code-block:: python
import toml
app.config.from_file("config.toml", load=toml.load)
import tomllib
app.config.from_file("config.toml", load=tomllib.load, text=False)
Or from a JSON file: