Mercurial > hgrepos > Python > libs > ConfigMix
annotate tests/data/conf1.ini @ 131:b34ad08e7198
Document the JSON files
| author | Franz Glasner <hg@dom66.de> |
|---|---|
| date | Wed, 04 Apr 2018 23:49:43 +0200 |
| parents | ba5970a2dcef |
| children | 7e6ec99d5ff5 |
| rev | line source |
|---|---|
| 93 | 1 # -*- coding: utf-8 -*- |
| 2 | |
| 3 [config] | |
| 4 key1 = the value | |
| 5 key2 = :int:2 | |
| 6 key3 = :float:5.7 | |
| 7 key4 = :bool:yes | |
| 8 key5 = :bool:off | |
| 95 | 9 key6 = :int:0o377 |
|
120
ba5970a2dcef
The default file encoding when reading INI style files with configmix.ini.load() is now "UTF-8".
Franz Glasner <f.glasner@feldmann-mg.com>
parents:
95
diff
changeset
|
10 key7 = Umlaute: ÄÖÜäöüß |
