diff tests/test_ini.txt @ 34:a9eaf65d82c6

test loading a different section
author Jeff Hammel <jhammel@mozilla.com>
date Tue, 07 Jun 2011 18:57:03 -0700
parents 48f61cea0a3c
children f6616a5f468f
line wrap: on
line diff
--- 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'