view tests/data/conf1.ini @ 172:8138d56d7cd3

".load" and ".safe_load" get a keyword parameter "defaults" that allows the provision of a configuration dictionary with default settings
author Franz Glasner <f.glasner@feldmann-mg.com>
date Fri, 26 Apr 2019 14:30:52 +0200
parents 7e6ec99d5ff5
children 2a8dcab2de8c
line wrap: on
line source

# -*- coding: utf-8 -*-

[config]
__comment1 = Comment 1
key1 = the value
key2 = :int:2
key3 = :float:5.7
key4 = :bool:yes
key5 = :bool:off
key6 = :int:0o377
__comment2 = Comment no 2
key7 = Umlaute: ÄÖÜäöüß