summaryrefslogtreecommitdiff
path: root/pypers/pep318/pydoc.html
blob: 8de6660d3791a529eddb29f44a38f8248d56b339 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508

<!doctype html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>Python: module decorators</title>
</head><body bgcolor="#f0f0f8">

<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
<tr bgcolor="#7799ee">
<td valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial">&nbsp;<br><big><big><strong>decorators</strong></big></big></font></td
><td align=right valign=bottom
><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/mnt/exp/MyDocs/pypers/pep318/decorators.py">/mnt/exp/MyDocs/pypers/pep318/decorators.py</a></font></td></tr></table>
    <p><tt>A&nbsp;module&nbsp;to&nbsp;implement&nbsp;pep318&nbsp;(decorator&nbsp;syntax)&nbsp;via&nbsp;magic&nbsp;doctrings.<br>
For&nbsp;the&nbsp;documentation&nbsp;see<br>
&nbsp;<br>
<a href="http://www.phyast.pitt.edu/~micheles/python/decorators,html">http://www.phyast.pitt.edu/~micheles/python/decorators,html</a><br>
&nbsp;<br>
and&nbsp;the&nbsp;on-line&nbsp;help.</tt></p>
<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#aa55cc">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#fffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr>
    
<tr><td bgcolor="#aa55cc"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="__builtin__.html">__builtin__</a><br>
<a href="inspect.html">inspect</a><br>
</td><td width="25%" valign=top><a href="noconflict.html">noconflict</a><br>
<a href="re.html">re</a><br>
</td><td width="25%" valign=top><a href="sys.html">sys</a><br>
</td><td width="25%" valign=top></td></tr></table></td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ee77aa">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr>
    
<tr><td bgcolor="#ee77aa"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><dl>
<dt><font face="helvetica, arial"><a href="exceptions.html#Exception">exceptions.Exception</a>
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="decorators.html#UnknownDecoratorError">UnknownDecoratorError</a>
</font></dt></dl>
</dd>
<dt><font face="helvetica, arial"><a href="__builtin__.html#object">__builtin__.object</a>
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="decorators.html#Decorator">Decorator</a>
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="decorators.html#ClassDecorator">ClassDecorator</a>(<a href="__builtin__.html#type">__builtin__.type</a>, <a href="decorators.html#Decorator">Decorator</a>)
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="decorators.html#Decorated">Decorated</a>
</font></dt></dl>
</dd>
<dt><font face="helvetica, arial"><a href="decorators.html#MethodDecorator">MethodDecorator</a>
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="decorators.html#classmethod">classmethod</a>
</font></dt><dt><font face="helvetica, arial"><a href="decorators.html#staticmethod">staticmethod</a>
</font></dt></dl>
</dd>
</dl>
</dd>
</dl>
</dd>
<dt><font face="helvetica, arial"><a href="__builtin__.html#type">__builtin__.type</a>(<a href="__builtin__.html#object">__builtin__.object</a>)
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="decorators.html#ClassDecorator">ClassDecorator</a>(<a href="__builtin__.html#type">__builtin__.type</a>, <a href="decorators.html#Decorator">Decorator</a>)
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="decorators.html#Decorated">Decorated</a>
</font></dt></dl>
</dd>
<dt><font face="helvetica, arial"><a href="decorators.html#MetaDecorator">MetaDecorator</a>
</font></dt></dl>
</dd>
</dl>
 <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="ClassDecorator">class <strong>ClassDecorator</strong></a>(<a href="__builtin__.html#type">__builtin__.type</a>, <a href="decorators.html#Decorator">Decorator</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>Metaclass&nbsp;callable&nbsp;with&nbsp;one&nbsp;or&nbsp;three&nbsp;arguments,&nbsp;having&nbsp;its&nbsp;calling<br>
syntax&nbsp;redefined&nbsp;by&nbsp;the&nbsp;meta-metaclass&nbsp;<a href="#MetaDecorator">MetaDecorator</a>.&nbsp;It&nbsp;redefines<br>
__str__&nbsp;both&nbsp;on&nbsp;classes&nbsp;and&nbsp;instances.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="decorators.html#ClassDecorator">ClassDecorator</a></dd>
<dd><a href="__builtin__.html#type">__builtin__.type</a></dd>
<dd><a href="decorators.html#Decorator">Decorator</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="ClassDecorator-__init__"><strong>__init__</strong></a>(cls, name, bases, dic)</dt></dl>

<dl><dt><a name="ClassDecorator-__str__"><strong>__str__</strong></a>(cls)</dt></dl>

<hr>
Methods inherited from <a href="__builtin__.html#type">__builtin__.type</a>:<br>
<dl><dt><a name="ClassDecorator-__call__"><strong>__call__</strong></a>(...)</dt><dd><tt>x.<a href="#ClassDecorator-__call__">__call__</a>(...)&nbsp;&lt;==&gt;&nbsp;x(...)</tt></dd></dl>

<dl><dt><a name="ClassDecorator-__cmp__"><strong>__cmp__</strong></a>(...)</dt><dd><tt>x.<a href="#ClassDecorator-__cmp__">__cmp__</a>(y)&nbsp;&lt;==&gt;&nbsp;cmp(x,y)</tt></dd></dl>

<dl><dt><a name="ClassDecorator-__delattr__"><strong>__delattr__</strong></a>(...)</dt><dd><tt>x.<a href="#ClassDecorator-__delattr__">__delattr__</a>('name')&nbsp;&lt;==&gt;&nbsp;del&nbsp;x.name</tt></dd></dl>

<dl><dt><a name="ClassDecorator-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#ClassDecorator-__getattribute__">__getattribute__</a>('name')&nbsp;&lt;==&gt;&nbsp;x.name</tt></dd></dl>

<dl><dt><a name="ClassDecorator-__hash__"><strong>__hash__</strong></a>(...)</dt><dd><tt>x.<a href="#ClassDecorator-__hash__">__hash__</a>()&nbsp;&lt;==&gt;&nbsp;hash(x)</tt></dd></dl>

<dl><dt><a name="ClassDecorator-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#ClassDecorator-__repr__">__repr__</a>()&nbsp;&lt;==&gt;&nbsp;repr(x)</tt></dd></dl>

<dl><dt><a name="ClassDecorator-__setattr__"><strong>__setattr__</strong></a>(...)</dt><dd><tt>x.<a href="#ClassDecorator-__setattr__">__setattr__</a>('name',&nbsp;value)&nbsp;&lt;==&gt;&nbsp;x.name&nbsp;=&nbsp;value</tt></dd></dl>

<dl><dt><a name="ClassDecorator-__subclasses__"><strong>__subclasses__</strong></a>(...)</dt><dd><tt><a href="#ClassDecorator-__subclasses__">__subclasses__</a>()&nbsp;-&gt;&nbsp;list&nbsp;of&nbsp;immediate&nbsp;subclasses</tt></dd></dl>

<dl><dt><a name="ClassDecorator-mro"><strong>mro</strong></a>(...)</dt><dd><tt><a href="#ClassDecorator-mro">mro</a>()&nbsp;-&gt;&nbsp;list<br>
return&nbsp;a&nbsp;<a href="__builtin__.html#type">type</a>'s&nbsp;method&nbsp;resolution&nbsp;order</tt></dd></dl>

<hr>
Data and other attributes inherited from <a href="__builtin__.html#type">__builtin__.type</a>:<br>
<dl><dt><strong>__base__</strong> = &lt;type 'type'&gt;</dl>

<dl><dt><strong>__bases__</strong> = (&lt;type 'type'&gt;, &lt;class 'decorators.Decorator'&gt;)</dl>

<dl><dt><strong>__basicsize__</strong> = 420</dl>

<dl><dt><strong>__dict__</strong> = &lt;dictproxy object&gt;</dl>

<dl><dt><strong>__dictoffset__</strong> = 132</dl>

<dl><dt><strong>__flags__</strong> = 22523</dl>

<dl><dt><strong>__itemsize__</strong> = 20</dl>

<dl><dt><strong>__mro__</strong> = (&lt;class 'decorators.ClassDecorator'&gt;, &lt;type 'type'&gt;, &lt;class 'decorators.Decorator'&gt;, &lt;type 'object'&gt;)</dl>

<dl><dt><strong>__new__</strong> = &lt;built-in method __new__ of type object&gt;<dd><tt>T.<a href="#ClassDecorator-__new__">__new__</a>(S,&nbsp;...)&nbsp;-&gt;&nbsp;a&nbsp;new&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;with&nbsp;<a href="__builtin__.html#type">type</a>&nbsp;S,&nbsp;a&nbsp;subtype&nbsp;of&nbsp;T</tt></dl>

<dl><dt><strong>__weakrefoffset__</strong> = 184</dl>

<hr>
Data and other attributes inherited from <a href="decorators.html#Decorator">Decorator</a>:<br>
<dl><dt><strong>__metaclass__</strong> = &lt;class 'decorators.MetaDecorator'&gt;<dd><tt>Metaclass&nbsp;inducing&nbsp;a&nbsp;certain&nbsp;amount&nbsp;of&nbsp;magic&nbsp;on&nbsp;decorators:<br>
1.&nbsp;Each&nbsp;time&nbsp;a&nbsp;decorator&nbsp;is&nbsp;defined&nbsp;in&nbsp;any&nbsp;module,&nbsp;it&nbsp;is&nbsp;stored&nbsp;in<br>
&nbsp;&nbsp;&nbsp;<a href="#MetaDecorator">MetaDecorator</a>.dic&nbsp;and&nbsp;<a href="#MetaDecorator">MetaDecorator</a>.ls.<br>
2.&nbsp;If&nbsp;the&nbsp;(method)&nbsp;decorator&nbsp;has&nbsp;a&nbsp;'get'&nbsp;method,&nbsp;a&nbsp;'__get__'&nbsp;method<br>
&nbsp;&nbsp;&nbsp;is&nbsp;automagically&nbsp;created&nbsp;as&nbsp;an&nbsp;alias&nbsp;to&nbsp;'get'.<br>
3.&nbsp;Decorators&nbsp;calls&nbsp;are&nbsp;dispatched&nbsp;to&nbsp;the&nbsp;decorator&nbsp;_call_<br>
&nbsp;&nbsp;&nbsp;<a href="#classmethod">classmethod</a>.</tt></dl>

<dl><dt><strong>__weakref__</strong> = &lt;attribute '__weakref__' of 'Decorator' objects&gt;<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;(if&nbsp;defined)</tt></dl>

</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="Decorated">class <strong>Decorated</strong></a>(<a href="decorators.html#ClassDecorator">ClassDecorator</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>Metaclass&nbsp;which&nbsp;decorates&nbsp;its&nbsp;instances<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="decorators.html#Decorated">Decorated</a></dd>
<dd><a href="decorators.html#ClassDecorator">ClassDecorator</a></dd>
<dd><a href="__builtin__.html#type">__builtin__.type</a></dd>
<dd><a href="decorators.html#Decorator">Decorator</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="Decorated-__init__"><strong>__init__</strong></a>(cls, name, bases, dic)</dt></dl>

<hr>
Methods inherited from <a href="decorators.html#ClassDecorator">ClassDecorator</a>:<br>
<dl><dt><a name="Decorated-__str__"><strong>__str__</strong></a>(cls)</dt></dl>

<hr>
Methods inherited from <a href="__builtin__.html#type">__builtin__.type</a>:<br>
<dl><dt><a name="Decorated-__call__"><strong>__call__</strong></a>(...)</dt><dd><tt>x.<a href="#Decorated-__call__">__call__</a>(...)&nbsp;&lt;==&gt;&nbsp;x(...)</tt></dd></dl>

<dl><dt><a name="Decorated-__cmp__"><strong>__cmp__</strong></a>(...)</dt><dd><tt>x.<a href="#Decorated-__cmp__">__cmp__</a>(y)&nbsp;&lt;==&gt;&nbsp;cmp(x,y)</tt></dd></dl>

<dl><dt><a name="Decorated-__delattr__"><strong>__delattr__</strong></a>(...)</dt><dd><tt>x.<a href="#Decorated-__delattr__">__delattr__</a>('name')&nbsp;&lt;==&gt;&nbsp;del&nbsp;x.name</tt></dd></dl>

<dl><dt><a name="Decorated-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#Decorated-__getattribute__">__getattribute__</a>('name')&nbsp;&lt;==&gt;&nbsp;x.name</tt></dd></dl>

<dl><dt><a name="Decorated-__hash__"><strong>__hash__</strong></a>(...)</dt><dd><tt>x.<a href="#Decorated-__hash__">__hash__</a>()&nbsp;&lt;==&gt;&nbsp;hash(x)</tt></dd></dl>

<dl><dt><a name="Decorated-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#Decorated-__repr__">__repr__</a>()&nbsp;&lt;==&gt;&nbsp;repr(x)</tt></dd></dl>

<dl><dt><a name="Decorated-__setattr__"><strong>__setattr__</strong></a>(...)</dt><dd><tt>x.<a href="#Decorated-__setattr__">__setattr__</a>('name',&nbsp;value)&nbsp;&lt;==&gt;&nbsp;x.name&nbsp;=&nbsp;value</tt></dd></dl>

<dl><dt><a name="Decorated-__subclasses__"><strong>__subclasses__</strong></a>(...)</dt><dd><tt><a href="#Decorated-__subclasses__">__subclasses__</a>()&nbsp;-&gt;&nbsp;list&nbsp;of&nbsp;immediate&nbsp;subclasses</tt></dd></dl>

<dl><dt><a name="Decorated-mro"><strong>mro</strong></a>(...)</dt><dd><tt><a href="#Decorated-mro">mro</a>()&nbsp;-&gt;&nbsp;list<br>
return&nbsp;a&nbsp;<a href="__builtin__.html#type">type</a>'s&nbsp;method&nbsp;resolution&nbsp;order</tt></dd></dl>

<hr>
Data and other attributes inherited from <a href="__builtin__.html#type">__builtin__.type</a>:<br>
<dl><dt><strong>__base__</strong> = &lt;class 'decorators.ClassDecorator'&gt;</dl>

<dl><dt><strong>__bases__</strong> = (&lt;class 'decorators.ClassDecorator'&gt;,)</dl>

<dl><dt><strong>__basicsize__</strong> = 420</dl>

<dl><dt><strong>__dict__</strong> = &lt;dictproxy object&gt;</dl>

<dl><dt><strong>__dictoffset__</strong> = 132</dl>

<dl><dt><strong>__flags__</strong> = 22523</dl>

<dl><dt><strong>__itemsize__</strong> = 20</dl>

<dl><dt><strong>__mro__</strong> = (&lt;class 'decorators.Decorated'&gt;, &lt;class 'decorators.ClassDecorator'&gt;, &lt;type 'type'&gt;, &lt;class 'decorators.Decorator'&gt;, &lt;type 'object'&gt;)</dl>

<dl><dt><strong>__new__</strong> = &lt;built-in method __new__ of type object&gt;<dd><tt>T.<a href="#Decorated-__new__">__new__</a>(S,&nbsp;...)&nbsp;-&gt;&nbsp;a&nbsp;new&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;with&nbsp;<a href="__builtin__.html#type">type</a>&nbsp;S,&nbsp;a&nbsp;subtype&nbsp;of&nbsp;T</tt></dl>

<dl><dt><strong>__weakrefoffset__</strong> = 184</dl>

<hr>
Data and other attributes inherited from <a href="decorators.html#Decorator">Decorator</a>:<br>
<dl><dt><strong>__metaclass__</strong> = &lt;class 'decorators.MetaDecorator'&gt;<dd><tt>Metaclass&nbsp;inducing&nbsp;a&nbsp;certain&nbsp;amount&nbsp;of&nbsp;magic&nbsp;on&nbsp;decorators:<br>
1.&nbsp;Each&nbsp;time&nbsp;a&nbsp;decorator&nbsp;is&nbsp;defined&nbsp;in&nbsp;any&nbsp;module,&nbsp;it&nbsp;is&nbsp;stored&nbsp;in<br>
&nbsp;&nbsp;&nbsp;<a href="#MetaDecorator">MetaDecorator</a>.dic&nbsp;and&nbsp;<a href="#MetaDecorator">MetaDecorator</a>.ls.<br>
2.&nbsp;If&nbsp;the&nbsp;(method)&nbsp;decorator&nbsp;has&nbsp;a&nbsp;'get'&nbsp;method,&nbsp;a&nbsp;'__get__'&nbsp;method<br>
&nbsp;&nbsp;&nbsp;is&nbsp;automagically&nbsp;created&nbsp;as&nbsp;an&nbsp;alias&nbsp;to&nbsp;'get'.<br>
3.&nbsp;Decorators&nbsp;calls&nbsp;are&nbsp;dispatched&nbsp;to&nbsp;the&nbsp;decorator&nbsp;_call_<br>
&nbsp;&nbsp;&nbsp;<a href="#classmethod">classmethod</a>.</tt></dl>

<dl><dt><strong>__weakref__</strong> = &lt;attribute '__weakref__' of 'Decorator' objects&gt;<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;(if&nbsp;defined)</tt></dl>

</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="Decorator">class <strong>Decorator</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>Instance&nbsp;of&nbsp;<a href="#MetaDecorator">MetaDecorator</a>&nbsp;and&nbsp;mothers&nbsp;of&nbsp;all&nbsp;decorators.&nbsp;When&nbsp;called<br>
in&nbsp;the&nbsp;form&nbsp;<a href="#Decorator">Decorator</a>(obj),&nbsp;with&nbsp;obj&nbsp;having&nbsp;a&nbsp;magic&nbsp;docstring,&nbsp;it&nbsp;returns<br>
an&nbsp;instance&nbsp;of&nbsp;the&nbsp;correct&nbsp;decorator,&nbsp;otherwise&nbsp;it&nbsp;returns&nbsp;None.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%">Data and other attributes defined here:<br>
<dl><dt><strong>__dict__</strong> = &lt;dictproxy object&gt;<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dl>

<dl><dt><strong>__metaclass__</strong> = &lt;class 'decorators.MetaDecorator'&gt;<dd><tt>Metaclass&nbsp;inducing&nbsp;a&nbsp;certain&nbsp;amount&nbsp;of&nbsp;magic&nbsp;on&nbsp;decorators:<br>
1.&nbsp;Each&nbsp;time&nbsp;a&nbsp;decorator&nbsp;is&nbsp;defined&nbsp;in&nbsp;any&nbsp;module,&nbsp;it&nbsp;is&nbsp;stored&nbsp;in<br>
&nbsp;&nbsp;&nbsp;<a href="#MetaDecorator">MetaDecorator</a>.dic&nbsp;and&nbsp;<a href="#MetaDecorator">MetaDecorator</a>.ls.<br>
2.&nbsp;If&nbsp;the&nbsp;(method)&nbsp;decorator&nbsp;has&nbsp;a&nbsp;'get'&nbsp;method,&nbsp;a&nbsp;'__get__'&nbsp;method<br>
&nbsp;&nbsp;&nbsp;is&nbsp;automagically&nbsp;created&nbsp;as&nbsp;an&nbsp;alias&nbsp;to&nbsp;'get'.<br>
3.&nbsp;Decorators&nbsp;calls&nbsp;are&nbsp;dispatched&nbsp;to&nbsp;the&nbsp;decorator&nbsp;_call_<br>
&nbsp;&nbsp;&nbsp;<a href="#classmethod">classmethod</a>.</tt></dl>

<dl><dt><strong>__weakref__</strong> = &lt;attribute '__weakref__' of 'Decorator' objects&gt;<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;(if&nbsp;defined)</tt></dl>

</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="MetaDecorator">class <strong>MetaDecorator</strong></a>(<a href="__builtin__.html#type">__builtin__.type</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>Metaclass&nbsp;inducing&nbsp;a&nbsp;certain&nbsp;amount&nbsp;of&nbsp;magic&nbsp;on&nbsp;decorators:<br>
1.&nbsp;Each&nbsp;time&nbsp;a&nbsp;decorator&nbsp;is&nbsp;defined&nbsp;in&nbsp;any&nbsp;module,&nbsp;it&nbsp;is&nbsp;stored&nbsp;in<br>
&nbsp;&nbsp;&nbsp;<a href="#MetaDecorator">MetaDecorator</a>.dic&nbsp;and&nbsp;<a href="#MetaDecorator">MetaDecorator</a>.ls.<br>
2.&nbsp;If&nbsp;the&nbsp;(method)&nbsp;decorator&nbsp;has&nbsp;a&nbsp;'get'&nbsp;method,&nbsp;a&nbsp;'__get__'&nbsp;method<br>
&nbsp;&nbsp;&nbsp;is&nbsp;automagically&nbsp;created&nbsp;as&nbsp;an&nbsp;alias&nbsp;to&nbsp;'get'.<br>
3.&nbsp;Decorators&nbsp;calls&nbsp;are&nbsp;dispatched&nbsp;to&nbsp;the&nbsp;decorator&nbsp;_call_<br>
&nbsp;&nbsp;&nbsp;<a href="#classmethod">classmethod</a>.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="decorators.html#MetaDecorator">MetaDecorator</a></dd>
<dd><a href="__builtin__.html#type">__builtin__.type</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="MetaDecorator-__call__"><strong>__call__</strong></a>(dec, *args)</dt></dl>

<dl><dt><a name="MetaDecorator-__init__"><strong>__init__</strong></a>(dec, *args)</dt></dl>

<hr>
Data and other attributes defined here:<br>
<dl><dt><strong>dic</strong> = {'ClassDecorator': &lt;class 'decorators.ClassDecorator'&gt;, 'Decorated': &lt;class 'decorators.Decorated'&gt;, 'Decorator': &lt;class 'decorators.Decorator'&gt;, 'MethodDecorator': &lt;class 'decorators.MethodDecorator'&gt;, 'classmethod': &lt;class 'decorators.classmethod'&gt;, 'staticmethod': &lt;class 'decorators.staticmethod'&gt;}</dl>

<dl><dt><strong>ls</strong> = [&lt;class 'decorators.Decorator'&gt;, &lt;class 'decorators.MethodDecorator'&gt;, &lt;class 'decorators.ClassDecorator'&gt;, &lt;class 'decorators.Decorated'&gt;, &lt;class 'decorators.staticmethod'&gt;, &lt;class 'decorators.classmethod'&gt;]</dl>

<hr>
Methods inherited from <a href="__builtin__.html#type">__builtin__.type</a>:<br>
<dl><dt><a name="MetaDecorator-__cmp__"><strong>__cmp__</strong></a>(...)</dt><dd><tt>x.<a href="#MetaDecorator-__cmp__">__cmp__</a>(y)&nbsp;&lt;==&gt;&nbsp;cmp(x,y)</tt></dd></dl>

<dl><dt><a name="MetaDecorator-__delattr__"><strong>__delattr__</strong></a>(...)</dt><dd><tt>x.<a href="#MetaDecorator-__delattr__">__delattr__</a>('name')&nbsp;&lt;==&gt;&nbsp;del&nbsp;x.name</tt></dd></dl>

<dl><dt><a name="MetaDecorator-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#MetaDecorator-__getattribute__">__getattribute__</a>('name')&nbsp;&lt;==&gt;&nbsp;x.name</tt></dd></dl>

<dl><dt><a name="MetaDecorator-__hash__"><strong>__hash__</strong></a>(...)</dt><dd><tt>x.<a href="#MetaDecorator-__hash__">__hash__</a>()&nbsp;&lt;==&gt;&nbsp;hash(x)</tt></dd></dl>

<dl><dt><a name="MetaDecorator-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#MetaDecorator-__repr__">__repr__</a>()&nbsp;&lt;==&gt;&nbsp;repr(x)</tt></dd></dl>

<dl><dt><a name="MetaDecorator-__setattr__"><strong>__setattr__</strong></a>(...)</dt><dd><tt>x.<a href="#MetaDecorator-__setattr__">__setattr__</a>('name',&nbsp;value)&nbsp;&lt;==&gt;&nbsp;x.name&nbsp;=&nbsp;value</tt></dd></dl>

<dl><dt><a name="MetaDecorator-__subclasses__"><strong>__subclasses__</strong></a>(...)</dt><dd><tt><a href="#MetaDecorator-__subclasses__">__subclasses__</a>()&nbsp;-&gt;&nbsp;list&nbsp;of&nbsp;immediate&nbsp;subclasses</tt></dd></dl>

<dl><dt><a name="MetaDecorator-mro"><strong>mro</strong></a>(...)</dt><dd><tt><a href="#MetaDecorator-mro">mro</a>()&nbsp;-&gt;&nbsp;list<br>
return&nbsp;a&nbsp;<a href="__builtin__.html#type">type</a>'s&nbsp;method&nbsp;resolution&nbsp;order</tt></dd></dl>

<hr>
Data and other attributes inherited from <a href="__builtin__.html#type">__builtin__.type</a>:<br>
<dl><dt><strong>__base__</strong> = &lt;type 'type'&gt;</dl>

<dl><dt><strong>__bases__</strong> = (&lt;type 'type'&gt;,)</dl>

<dl><dt><strong>__basicsize__</strong> = 420</dl>

<dl><dt><strong>__dict__</strong> = &lt;dictproxy object&gt;</dl>

<dl><dt><strong>__dictoffset__</strong> = 132</dl>

<dl><dt><strong>__flags__</strong> = 22523</dl>

<dl><dt><strong>__itemsize__</strong> = 20</dl>

<dl><dt><strong>__mro__</strong> = (&lt;class 'decorators.MetaDecorator'&gt;, &lt;type 'type'&gt;, &lt;type 'object'&gt;)</dl>

<dl><dt><strong>__new__</strong> = &lt;built-in method __new__ of type object&gt;<dd><tt>T.<a href="#MetaDecorator-__new__">__new__</a>(S,&nbsp;...)&nbsp;-&gt;&nbsp;a&nbsp;new&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;with&nbsp;<a href="__builtin__.html#type">type</a>&nbsp;S,&nbsp;a&nbsp;subtype&nbsp;of&nbsp;T</tt></dl>

<dl><dt><strong>__weakrefoffset__</strong> = 184</dl>

</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="MethodDecorator">class <strong>MethodDecorator</strong></a>(<a href="decorators.html#Decorator">Decorator</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>Descriptor&nbsp;class&nbsp;callable&nbsp;with&nbsp;a&nbsp;function&nbsp;as&nbsp;argument.&nbsp;The&nbsp;calling<br>
syntax&nbsp;is&nbsp;redefined&nbsp;by&nbsp;the&nbsp;meta-metaclass&nbsp;<a href="#MetaDecorator">MetaDecorator</a>.&nbsp;It&nbsp;redefines<br>
__str__&nbsp;and&nbsp;get&nbsp;(i.e.&nbsp;__get__)&nbsp;on&nbsp;its&nbsp;instances.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="decorators.html#MethodDecorator">MethodDecorator</a></dd>
<dd><a href="decorators.html#Decorator">Decorator</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="MethodDecorator-__get__"><strong>__get__</strong></a> = <a href="#MethodDecorator-get">get</a>(self, obj, cls<font color="#909090">=None</font>)</dt></dl>

<dl><dt><a name="MethodDecorator-__init__"><strong>__init__</strong></a>(self, func)</dt></dl>

<dl><dt><a name="MethodDecorator-__str__"><strong>__str__</strong></a>(self)</dt></dl>

<dl><dt><a name="MethodDecorator-get"><strong>get</strong></a>(self, obj, cls<font color="#909090">=None</font>)</dt></dl>

<hr>
Data and other attributes defined here:<br>
<dl><dt><strong>__klass__</strong> = &lt;class 'decorators.?'&gt;</dl>

<hr>
Data and other attributes inherited from <a href="decorators.html#Decorator">Decorator</a>:<br>
<dl><dt><strong>__dict__</strong> = &lt;dictproxy object&gt;<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dl>

<dl><dt><strong>__metaclass__</strong> = &lt;class 'decorators.MetaDecorator'&gt;<dd><tt>Metaclass&nbsp;inducing&nbsp;a&nbsp;certain&nbsp;amount&nbsp;of&nbsp;magic&nbsp;on&nbsp;decorators:<br>
1.&nbsp;Each&nbsp;time&nbsp;a&nbsp;decorator&nbsp;is&nbsp;defined&nbsp;in&nbsp;any&nbsp;module,&nbsp;it&nbsp;is&nbsp;stored&nbsp;in<br>
&nbsp;&nbsp;&nbsp;<a href="#MetaDecorator">MetaDecorator</a>.dic&nbsp;and&nbsp;<a href="#MetaDecorator">MetaDecorator</a>.ls.<br>
2.&nbsp;If&nbsp;the&nbsp;(method)&nbsp;decorator&nbsp;has&nbsp;a&nbsp;'get'&nbsp;method,&nbsp;a&nbsp;'__get__'&nbsp;method<br>
&nbsp;&nbsp;&nbsp;is&nbsp;automagically&nbsp;created&nbsp;as&nbsp;an&nbsp;alias&nbsp;to&nbsp;'get'.<br>
3.&nbsp;Decorators&nbsp;calls&nbsp;are&nbsp;dispatched&nbsp;to&nbsp;the&nbsp;decorator&nbsp;_call_<br>
&nbsp;&nbsp;&nbsp;<a href="#classmethod">classmethod</a>.</tt></dl>

<dl><dt><strong>__weakref__</strong> = &lt;attribute '__weakref__' of 'Decorator' objects&gt;<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;(if&nbsp;defined)</tt></dl>

</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="UnknownDecoratorError">class <strong>UnknownDecoratorError</strong></a>(<a href="exceptions.html#Exception">exceptions.Exception</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>The&nbsp;name&nbsp;says&nbsp;it&nbsp;all<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%">Methods inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br>
<dl><dt><a name="UnknownDecoratorError-__getitem__"><strong>__getitem__</strong></a>(...)</dt></dl>

<dl><dt><a name="UnknownDecoratorError-__init__"><strong>__init__</strong></a>(...)</dt></dl>

<dl><dt><a name="UnknownDecoratorError-__str__"><strong>__str__</strong></a>(...)</dt></dl>

</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="classmethod">class <strong>classmethod</strong></a>(<a href="decorators.html#MethodDecorator">MethodDecorator</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt><a href="#Decorator">Decorator</a>,&nbsp;converts&nbsp;a&nbsp;function&nbsp;in&nbsp;a&nbsp;<a href="#classmethod">classmethod</a><br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="decorators.html#classmethod">classmethod</a></dd>
<dd><a href="decorators.html#MethodDecorator">MethodDecorator</a></dd>
<dd><a href="decorators.html#Decorator">Decorator</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="classmethod-__get__"><strong>__get__</strong></a> = <a href="#classmethod-get">get</a>(self, obj, cls<font color="#909090">=None</font>)</dt></dl>

<dl><dt><a name="classmethod-get"><strong>get</strong></a>(self, obj, cls<font color="#909090">=None</font>)</dt></dl>

<hr>
Methods inherited from <a href="decorators.html#MethodDecorator">MethodDecorator</a>:<br>
<dl><dt><a name="classmethod-__init__"><strong>__init__</strong></a>(self, func)</dt></dl>

<dl><dt><a name="classmethod-__str__"><strong>__str__</strong></a>(self)</dt></dl>

<hr>
Data and other attributes inherited from <a href="decorators.html#MethodDecorator">MethodDecorator</a>:<br>
<dl><dt><strong>__klass__</strong> = &lt;class 'decorators.?'&gt;</dl>

<hr>
Data and other attributes inherited from <a href="decorators.html#Decorator">Decorator</a>:<br>
<dl><dt><strong>__dict__</strong> = &lt;dictproxy object&gt;<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dl>

<dl><dt><strong>__metaclass__</strong> = &lt;class 'decorators.MetaDecorator'&gt;<dd><tt>Metaclass&nbsp;inducing&nbsp;a&nbsp;certain&nbsp;amount&nbsp;of&nbsp;magic&nbsp;on&nbsp;decorators:<br>
1.&nbsp;Each&nbsp;time&nbsp;a&nbsp;decorator&nbsp;is&nbsp;defined&nbsp;in&nbsp;any&nbsp;module,&nbsp;it&nbsp;is&nbsp;stored&nbsp;in<br>
&nbsp;&nbsp;&nbsp;<a href="#MetaDecorator">MetaDecorator</a>.dic&nbsp;and&nbsp;<a href="#MetaDecorator">MetaDecorator</a>.ls.<br>
2.&nbsp;If&nbsp;the&nbsp;(method)&nbsp;decorator&nbsp;has&nbsp;a&nbsp;'get'&nbsp;method,&nbsp;a&nbsp;'__get__'&nbsp;method<br>
&nbsp;&nbsp;&nbsp;is&nbsp;automagically&nbsp;created&nbsp;as&nbsp;an&nbsp;alias&nbsp;to&nbsp;'get'.<br>
3.&nbsp;Decorators&nbsp;calls&nbsp;are&nbsp;dispatched&nbsp;to&nbsp;the&nbsp;decorator&nbsp;_call_<br>
&nbsp;&nbsp;&nbsp;<a href="#classmethod">classmethod</a>.</tt></dl>

<dl><dt><strong>__weakref__</strong> = &lt;attribute '__weakref__' of 'Decorator' objects&gt;<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;(if&nbsp;defined)</tt></dl>

</td></tr></table> <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="staticmethod">class <strong>staticmethod</strong></a>(<a href="decorators.html#MethodDecorator">MethodDecorator</a>)</font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt><a href="#Decorator">Decorator</a>,&nbsp;converts&nbsp;a&nbsp;function&nbsp;in&nbsp;a&nbsp;<a href="#staticmethod">staticmethod</a><br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="decorators.html#staticmethod">staticmethod</a></dd>
<dd><a href="decorators.html#MethodDecorator">MethodDecorator</a></dd>
<dd><a href="decorators.html#Decorator">Decorator</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="staticmethod-__get__"><strong>__get__</strong></a> = <a href="#staticmethod-get">get</a>(self, obj, cls<font color="#909090">=None</font>)</dt></dl>

<dl><dt><a name="staticmethod-get"><strong>get</strong></a>(self, obj, cls<font color="#909090">=None</font>)</dt></dl>

<hr>
Methods inherited from <a href="decorators.html#MethodDecorator">MethodDecorator</a>:<br>
<dl><dt><a name="staticmethod-__init__"><strong>__init__</strong></a>(self, func)</dt></dl>

<dl><dt><a name="staticmethod-__str__"><strong>__str__</strong></a>(self)</dt></dl>

<hr>
Data and other attributes inherited from <a href="decorators.html#MethodDecorator">MethodDecorator</a>:<br>
<dl><dt><strong>__klass__</strong> = &lt;class 'decorators.?'&gt;</dl>

<hr>
Data and other attributes inherited from <a href="decorators.html#Decorator">Decorator</a>:<br>
<dl><dt><strong>__dict__</strong> = &lt;dictproxy object&gt;<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dl>

<dl><dt><strong>__metaclass__</strong> = &lt;class 'decorators.MetaDecorator'&gt;<dd><tt>Metaclass&nbsp;inducing&nbsp;a&nbsp;certain&nbsp;amount&nbsp;of&nbsp;magic&nbsp;on&nbsp;decorators:<br>
1.&nbsp;Each&nbsp;time&nbsp;a&nbsp;decorator&nbsp;is&nbsp;defined&nbsp;in&nbsp;any&nbsp;module,&nbsp;it&nbsp;is&nbsp;stored&nbsp;in<br>
&nbsp;&nbsp;&nbsp;<a href="#MetaDecorator">MetaDecorator</a>.dic&nbsp;and&nbsp;<a href="#MetaDecorator">MetaDecorator</a>.ls.<br>
2.&nbsp;If&nbsp;the&nbsp;(method)&nbsp;decorator&nbsp;has&nbsp;a&nbsp;'get'&nbsp;method,&nbsp;a&nbsp;'__get__'&nbsp;method<br>
&nbsp;&nbsp;&nbsp;is&nbsp;automagically&nbsp;created&nbsp;as&nbsp;an&nbsp;alias&nbsp;to&nbsp;'get'.<br>
3.&nbsp;Decorators&nbsp;calls&nbsp;are&nbsp;dispatched&nbsp;to&nbsp;the&nbsp;decorator&nbsp;_call_<br>
&nbsp;&nbsp;&nbsp;<a href="#classmethod">classmethod</a>.</tt></dl>

<dl><dt><strong>__weakref__</strong> = &lt;attribute '__weakref__' of 'Decorator' objects&gt;<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;(if&nbsp;defined)</tt></dl>

</td></tr></table></td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#eeaa77">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr>
    
<tr><td bgcolor="#eeaa77"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><dl><dt><a name="-decorate"><strong>decorate</strong></a>(objdict)</dt><dd><tt>Takes&nbsp;an&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;with&nbsp;a&nbsp;dictionary&nbsp;and&nbsp;decorates&nbsp;all&nbsp;its&nbsp;functions<br>
and&nbsp;classes&nbsp;according&nbsp;to&nbsp;their&nbsp;docstrings.</tt></dd></dl>
 <dl><dt><a name="-decorated"><strong>decorated</strong></a>(obj)</dt><dd><tt>Returns&nbsp;a&nbsp;new&nbsp;decorated&nbsp;<a href="__builtin__.html#object">object</a>&nbsp;created&nbsp;from&nbsp;obj,&nbsp;if&nbsp;obj&nbsp;is&nbsp;a&nbsp;function<br>
or&nbsp;a&nbsp;class;&nbsp;otherwise&nbsp;it&nbsp;returns&nbsp;None</tt></dd></dl>
 <dl><dt><a name="-decorator_from"><strong>decorator_from</strong></a>(docstring, defaultdec<font color="#909090">=None</font>)</dt><dd><tt>Takes&nbsp;a&nbsp;magic&nbsp;docstring&nbsp;and&nbsp;a&nbsp;default&nbsp;decorator<br>
and&nbsp;returns&nbsp;a&nbsp;decorator&nbsp;class&nbsp;or&nbsp;None.&nbsp;It&nbsp;tries&nbsp;to&nbsp;be&nbsp;smart.</tt></dd></dl>
 <dl><dt><a name="-enhance_classes"><strong>enhance_classes</strong></a>(docstring<font color="#909090">=''</font>)</dt><dd><tt>Enhance&nbsp;all&nbsp;the&nbsp;classes&nbsp;in&nbsp;the&nbsp;caller&nbsp;module&nbsp;with&nbsp;a&nbsp;metaclass<br>
built&nbsp;from&nbsp;the&nbsp;given&nbsp;docstring;&nbsp;the&nbsp;default&nbsp;is&nbsp;<a href="#ClassDecorator">ClassDecorator</a>.</tt></dd></dl>
 <dl><dt><a name="-get"><strong>get</strong></a>(docstring<font color="#909090">=None</font>)</dt><dd><tt>List&nbsp;of&nbsp;recognized&nbsp;decorators</tt></dd></dl>
</td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#55aa55">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr>
    
<tr><td bgcolor="#55aa55"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><strong>MAGICDOC</strong> = &lt;_sre.SRE_Pattern object&gt;</td></tr></table>
</body></html>