Skip to content
Myr

Merge pull request #5140 from Jeroendevr/patch-1

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Lord · committed by GitHub · parents 55332be, 0f477df · Browse files · 1 file+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:docs/config.rst+2 added-2 removed
408 unmodified lines
409from a TOML file:410411.. code-block:: python412413 import toml414 app.config.from_file("config.toml", load=toml.load)413 import tomllib414 app.config.from_file("config.toml", load=tomllib.load, text=False)415416Or from a JSON file:417418.. code-block:: python
303 unmodified lines