comparison README.txt @ 39:db095765807d

update decorator syntax
author Jeff Hammel <jhammel@mozilla.com>
date Tue, 07 Jun 2011 22:08:57 -0700
parents ff634cc2e62b
children 0b2019d0af98
comparison
equal deleted inserted replaced
38:f6616a5f468f 39:db095765807d
65 - wrappers: in addition to the override pattern, you can also wrap an 65 - wrappers: in addition to the override pattern, you can also wrap an
66 object:: 66 object::
67 67
68 [foo:bar:baz] 68 [foo:bar:baz]
69 69
70 This will create an object, ``foo`` which wraps the object ``baz`` in
71 by the pattern given by ``bar``. In this case, ``bar`` is provided
72 a special variable, `%(app)s`.
73
74 You can also do::
75
76 [foo:bar:hi,hello,x=1,y=2:%(here)/objects.py:MyClass]
77
78
70 In addition, .ini files may include other .ini files. This allows for 79 In addition, .ini files may include other .ini files. This allows for
71 encapsulation of intent of specific .ini files:: 80 encapsulation of intent of specific .ini files::
72 81
73 [include:%(here)s/some/file.ini] 82 [include:%(here)s/some/file.ini]
74 83