Mercurial > hgrepos > Python > libs > ConfigMix
comparison configmix/config.py @ 389:44ef854da70a
Docs
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Wed, 10 Nov 2021 09:37:44 +0100 |
| parents | 13427f37abab |
| children | 0b3ffc34fa5c |
comparison
equal
deleted
inserted
replaced
| 388:13427f37abab | 389:44ef854da70a |
|---|---|
| 108 Every item in `paths` is either a `tuple` or `list` or a `dict`. | 108 Every item in `paths` is either a `tuple` or `list` or a `dict`. |
| 109 If the path item is a `dict` then it must have two keys "namespace" | 109 If the path item is a `dict` then it must have two keys "namespace" |
| 110 and "path". | 110 and "path". |
| 111 If the path item is a `list` or `tuple` then the namespace is assumed | 111 If the path item is a `list` or `tuple` then the namespace is assumed |
| 112 to be `None`. | 112 to be `None`. |
| 113 | |
| 114 Note that a caller that wants to use variables from a non-default | |
| 115 namespace must use a sequence of dicts. | |
| 113 | 116 |
| 114 No variable interpolation is done and no filters are applied. | 117 No variable interpolation is done and no filters are applied. |
| 115 | 118 |
| 116 Quoting of anything in `paths` is *not* needed and wrong. | 119 Quoting of anything in `paths` is *not* needed and wrong. |
| 117 | 120 |
