Mercurial > hgrepos > Python > libs > ConfigMix
view tests/data/conf10.yml @ 172:8138d56d7cd3
".load" and ".safe_load" get a keyword parameter "defaults" that allows the provision of a configuration dictionary with default settings
| author | Franz Glasner <f.glasner@feldmann-mg.com> |
|---|---|
| date | Fri, 26 Apr 2019 14:30:52 +0200 |
| parents | 1b4d95f60650 |
| children | 816327e178b0 |
line wrap: on
line source
# -*- coding: utf-8; mode: yaml; indent-tabs-mode: nil; -*- %YAML 1.1 --- key1: in the root namespace key2: in the root namespace -- too tree1: key3: 0x20 tree2: key4: get this as `tree1.tree2.key4' key5: true
