Mercurial > hgrepos > Python > libs > ConfigMix
diff tests/data/conf10.py @ 97:1b4d95f60650
Build a tree-ish configuration from an INI style configuration file
| author | Franz Glasner <hg@dom66.de> |
|---|---|
| date | Sun, 18 Mar 2018 19:15:01 +0100 |
| parents | |
| children | 816327e178b0 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/data/conf10.py Sun Mar 18 19:15:01 2018 +0100 @@ -0,0 +1,14 @@ +# -*- 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 + } +} +
