Mercurial > hgrepos > Python > libs > ConfigMix
view tests/data/conf10.toml @ 412:816327e178b0
Provide coercing methods for the jailed configuration: getintXXX(), getboolXXX(), getfloatXXX() and friends.
This is done be refactoring Configuration and putting the coercing
methods into a common mixin.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Sat, 20 Nov 2021 13:52:08 +0100 |
| parents | 28e6c1413947 |
| children | 88bfa76463a6 |
line wrap: on
line source
# -*- coding: utf-8 -*- key1 = "in the root namespace" key2 = "in the root namespace -- too" [tree1] key3 = 0x20 [tree1.tree2] key4 = "get this as `tree1.tree2.key4'" key5 = true key6 = "off"
