Mercurial > hgrepos > Python > libs > ConfigMix
comparison docs/introduction.rst @ 659:b97e5f3bbc8e
Test indexed list access in variable interpolations: ok.
Also drop an extra note into the documentation.
| author | Franz Glasner <f.glasner@feldmann-mg.com> |
|---|---|
| date | Mon, 30 May 2022 14:08:40 +0200 |
| parents | 6102b767fc69 |
| children | ce2f723da730 |
comparison
equal
deleted
inserted
replaced
| 658:6102b767fc69 | 659:b97e5f3bbc8e |
|---|---|
| 298 | 298 |
| 299 - Directly use the integer list index in :py:meth:`~.Configuration.getvarl` | 299 - Directly use the integer list index in :py:meth:`~.Configuration.getvarl` |
| 300 and its friends. | 300 and its friends. |
| 301 - Encode the index number to string format using the ``~INDEX~`` syntax and | 301 - Encode the index number to string format using the ``~INDEX~`` syntax and |
| 302 use :py:meth:`~.Configuration.getvar` and its friends. | 302 use :py:meth:`~.Configuration.getvar` and its friends. |
| 303 | |
| 304 This syntax is also supported for variable interpolations. | |
| 303 | 305 |
| 304 Negative indexes are supported with Python semantics. | 306 Negative indexes are supported with Python semantics. |
| 305 | 307 |
| 306 Examples: | 308 Examples: |
| 307 | 309 |
