Mercurial > hgrepos > Python > libs > ConfigMix
view tests/data/conf10.py @ 292:6a044778371a
Some unittests for the new "strict" YAML parsing mode to prevent duplicate keys within a single YAML document
| author | Franz Glasner <f.glasner@feldmann-mg.com> |
|---|---|
| date | Wed, 10 Feb 2021 15:04:27 +0100 |
| parents | 1b4d95f60650 |
| children | 816327e178b0 |
line wrap: on
line source
# -*- coding: utf-8 -*- key1 = u"in the root namespace" key2 = u"in the root namespace -- too" tree1 = { 'key3': 0x20, 'tree2': { 'key4': u"get this as `tree1.tree2.key4'", 'key5': True } }
