Mercurial > hgrepos > Python > libs > ConfigMix
diff configmix/config.py @ 202:2e66178a09d8
Docu: Ban "keyword expansion" -- use "variable interpolation" instead
"Variable interpolation" or "variable expansion" or "variable substitution"
are the proper wordings.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Sun, 05 May 2019 12:07:27 +0200 |
| parents | e2e8d21b4122 |
| children | b3b5ed34d180 |
line wrap: on
line diff
--- a/configmix/config.py Sun May 05 12:01:33 2019 +0200 +++ b/configmix/config.py Sun May 05 12:07:27 2019 +0200 @@ -58,7 +58,7 @@ """Get a variable of the form ``[ns:][[key1.]key2.]name`` - including variables from other namespaces. - No variable expansion is done and no filters are applied. + No variable interpolation is done and no filters are applied. """ varns, varname = self._split_ns(varname) @@ -80,10 +80,10 @@ """Get a variable - including variables from other namespaces. `varname` is interpreted as in :meth:`.getvar`. But variables - will be expanded recursively within the variable values and - filters are applied. + will be interpolated recursively within the variable values + and filters are applied. - For more details see chapter :ref:`variable-expansion`. + For more details see chapter :ref:`variable-interpolation`. """ try:
