File: kiwi.python.AttributeForwarder.html

package info (click to toggle)
kiwi 1.9.22-4
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 11,976 kB
  • ctags: 5,619
  • sloc: python: 15,767; ansic: 193; xml: 77; makefile: 53; sh: 18
file content (94 lines) | stat: -rw-r--r-- 3,251 bytes parent folder | download | duplicates (3)
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
<!DOCTYPE html
  PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "DTD/xhtml1-strict.dtd">
<html>
  <head>
    <title>API docs for &ldquo;kiwi.python.AttributeForwarder&rdquo;</title>
    <meta content="text/html;charset=utf-8" http-equiv="Content-Type" />
    <link href="apidocs.css" type="text/css" rel="stylesheet" />
    
    
  </head>
  <body>
    <h1 class="class">Class k.p.AttributeForwarder(<a href="kiwi.python.ClassInittableObject.html">ClassInittableObject</a>):</h1>
    <p>
      <span id="part">Part of <a href="kiwi.html">kiwi</a>.<a href="kiwi.python.html">python</a></span>
      
      <a href="classIndex.html#kiwi.python.AttributeForwarder">View In Hierarchy</a>
    </p>
    <div>
      
    </div>
    <div>AttributeForwarder is an object which is used to forward certain 
attributes to another object.
<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Instance Variables</td><td class="fieldArg">target</td><td>forwarded object
</td></tr><tr class="fieldStart"><td class="fieldName">Class Variables</td><td class="fieldArg">attributes</td><td>list of attributes to be forwarded
</td></tr></table></div>
    
    
    <div id="splitTables">
      <table class="children sortable" id="id410">
  
  
  
  
  <tr class="classmethod">
    
    
    <td>Class Method</td>
    <td><a href="kiwi.python.AttributeForwarder.html#__class_init__">__class_init__</a></td>
    <td><span>Called when the class is created
</span></td>
  </tr><tr class="method">
    
    
    <td>Method</td>
    <td><a href="kiwi.python.AttributeForwarder.html#__init__">__init__</a></td>
    <td><span>Create a new AttributeForwarder object.
</span></td>
  </tr>
  
</table>
      
      
    </div>
    
    
    
    <div class="function">
        <a name="kiwi.python.AttributeForwarder.__class_init__"></a>
        <a name="__class_init__"></a>
        <div class="functionHeader">
        @classmethod<br />
        def __class_init__(cls, ns):
        
      </div>
        <div class="functionBody">
          <div class="interfaceinfo">overrides <a href="kiwi.python.ClassInittableObject.html#__class_init__">kiwi.python.ClassInittableObject.__class_init__</a></div>
          <div>Called when the class is created
<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">cls</td><td>class
</td></tr><tr><td></td><td class="fieldArg">namespace</td><td>namespace for newly created
 (type: dict
)</td></tr></table></div>
        </div>
      </div><div class="function">
        <a name="kiwi.python.AttributeForwarder.__init__"></a>
        <a name="__init__"></a>
        <div class="functionHeader">
        
        def __init__(self, target):
        
      </div>
        <div class="functionBody">
          
          <div>Create a new AttributeForwarder object.
<table class="fieldTable"><tr class="fieldStart"><td class="fieldName">Parameters</td><td class="fieldArg">target</td><td>object to forward attributes to
</td></tr></table></div>
        </div>
      </div>
    
    <address>
      <a href="index.html">API Documentation</a> for Kiwi, generated by <a href="http://codespeak.net/~mwh/pydoctor/">pydoctor</a> at 2008-05-29 16:06:17.
    </address>
  </body>
</html>