mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-09 05:20:08 +01:00
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
12 lines
291 B
Python
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')
|
|
|