# HG changeset patch # User Jeff Hammel # Date 1307498223 25200 # Node ID a9eaf65d82c63f1a5b703676a7ab62a90b4a58c5 # Parent 48f61cea0a3c27ff5b882812c15525d2c165d1ec test loading a different section diff -r 48f61cea0a3c -r a9eaf65d82c6 tests/test_ini.txt --- a/tests/test_ini.txt Tue Jun 07 18:55:26 2011 -0700 +++ b/tests/test_ini.txt Tue Jun 07 18:57:03 2011 -0700 @@ -18,3 +18,9 @@ >>> object('foobar') 'PRE!!!abfoor' + +You can also just load the callback:: + + >>> callback = inifactory.load('callback') + >>> callback('foo', 'bar') + 'abfoor'