Files
Phoenix/docs/sphinx/rest_substitutions/snippets/python/converted/wx.ConfigBase.4.py
2016-05-18 16:38:18 -07:00

12 lines
291 B
Python

def bar(config):
config.Write("Test", 17)
foo(config)
# we're reading "/Foo/Data/Test" here! -1 will probably be returned...
if config.ReadInt("Test", -1) != 17:
raise Exception('Invalid Test')