Mercurial > hgrepos > Python > libs > ConfigMix
comparison tests/data/conf10.ini @ 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 | 1b4d95f60650 |
| children | 88bfa76463a6 |
comparison
equal
deleted
inserted
replaced
| 411:3c95faa91dad | 412:816327e178b0 |
|---|---|
| 11 key3 = :int:0x20 | 11 key3 = :int:0x20 |
| 12 | 12 |
| 13 [config.tree1.tree2] | 13 [config.tree1.tree2] |
| 14 key4 = get this as `tree1.tree2.key4' | 14 key4 = get this as `tree1.tree2.key4' |
| 15 key5 = :bool:TRUE | 15 key5 = :bool:TRUE |
| 16 key6 = off |
