Mercurial > hgrepos > Python > libs > ConfigMix
view tests/data/index-access-for-jails.yml @ 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 | 64cf6710c0db |
| children |
line wrap: on
line source
# -*- coding: utf-8; mode: yaml; indent-tabs-mode: nil; -*- # Testing index access in jails: list items are containers %YAML 1.1 --- the-list: - entry: 0 - entry: 1 - entry: 2 expand-me: '{{the-list.~1~.entry}}' expand-me-2: '{{the-list.~-1~.entry}}'
