Mercurial > hgrepos > Python > libs > ConfigMix
comparison doc/introduction.rst @ 158:ab6a48ff5235
FIX: Docu: Configuration.getvar() does **not** apply variable substitutions
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Thu, 21 Feb 2019 22:53:56 +0100 |
| parents | d44ee758e31b |
| children | 4643763b39ee |
comparison
equal
deleted
inserted
replaced
| 157:5c377941b0f8 | 158:ab6a48ff5235 |
|---|---|
| 279 I.e.: between double curly braces an optional `namespace` name followed by | 279 I.e.: between double curly braces an optional `namespace` name followed by |
| 280 a colon ``:``, the `variable` and then zero or more filters, each one | 280 a colon ``:``, the `variable` and then zero or more filters, each one |
| 281 introduced by a pipe symbol ``|``. | 281 introduced by a pipe symbol ``|``. |
| 282 | 282 |
| 283 Variables are expanded lately at runtime -- exactly when calling | 283 Variables are expanded lately at runtime -- exactly when calling |
| 284 :py:meth:`.Configuration.getvar_s` or :py:meth:`.Configuration.getvar`. | 284 :py:meth:`.Configuration.getvar_s`, |
| 285 :py:meth:`.Configuration.substitute_variables_in_obj` or | |
| 286 :py:meth:`.Configuration.expand_variable` | |
| 285 | 287 |
| 286 | 288 |
| 287 Filter functions | 289 Filter functions |
| 288 ~~~~~~~~~~~~~~~~ | 290 ~~~~~~~~~~~~~~~~ |
| 289 | 291 |
