changeset 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 850d31be0fb8
files tests/test_ini.txt
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
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'