Mercurial > hgrepos > Python > libs > ConfigMix
comparison doc/introduction.rst @ 200:c6904d02beae
Doc: some wording
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Sun, 05 May 2019 11:36:12 +0200 |
| parents | 28e6c1413947 |
| children | 2e66178a09d8 |
comparison
equal
deleted
inserted
replaced
| 199:852f6c0c9298 | 200:c6904d02beae |
|---|---|
| 20 .. _yaml-files: | 20 .. _yaml-files: |
| 21 | 21 |
| 22 YAML Files | 22 YAML Files |
| 23 ---------- | 23 ---------- |
| 24 | 24 |
| 25 Need the :mod:`yaml` package (e.g. ``pip install pyyaml``) | 25 Need the :mod:`yaml` package (https://github.com/yaml/pyyaml) |
| 26 (e.g. ``pip install pyyaml``) | |
| 26 | 27 |
| 27 .. note:: All strings are returned as Unicode text strings. | 28 .. note:: All strings are returned as Unicode text strings. |
| 28 | 29 |
| 29 .. note:: The root object must be a *mapping* and therefore decode | 30 .. note:: The root object must be a *mapping* and therefore decode |
| 30 into a Python :class:`dict` alike. This is checked by the | 31 into a Python :class:`dict` alike. This is checked by the |
| 108 .. _toml-files: | 109 .. _toml-files: |
| 109 | 110 |
| 110 TOML Files | 111 TOML Files |
| 111 ---------- | 112 ---------- |
| 112 | 113 |
| 113 Read the TOML file with the help of the pure Python `uiri/toml` package. | 114 Read the TOML file with the help of the pure Python :mod:`toml` |
| 115 package (https://github.com/uiri/toml) (e.g. ``pip install toml``). | |
| 114 | 116 |
| 115 All TOML features map seamingless to "ConfigMix". | 117 All TOML features map seamingless to "ConfigMix". |
| 116 | 118 |
| 117 The example TOML style configuration below yields an equivalent | 119 The example TOML style configuration below yields an equivalent |
| 118 configuration to the YAML configuration above: | 120 configuration to the YAML configuration above: |
