141 <table> |
141 <table> |
142 <tr> |
142 <tr> |
143 <td><a href="#Completer.__init__">Completer</a></td> |
143 <td><a href="#Completer.__init__">Completer</a></td> |
144 <td>Constructor</td> |
144 <td>Constructor</td> |
145 </tr><tr> |
145 </tr><tr> |
|
146 <td><a href="#Completer._callable_postfix">_callable_postfix</a></td> |
|
147 <td>Protected method to check for a callable.</td> |
|
148 </tr><tr> |
146 <td><a href="#Completer.attr_matches">attr_matches</a></td> |
149 <td><a href="#Completer.attr_matches">attr_matches</a></td> |
147 <td>Public method to compute matches when text contains a dot.</td> |
150 <td>Public method to compute matches when text contains a dot.</td> |
148 </tr><tr> |
151 </tr><tr> |
149 <td><a href="#Completer.complete">complete</a></td> |
152 <td><a href="#Completer.complete">complete</a></td> |
150 <td>Public method to return the next possible completion for 'text'.</td> |
153 <td>Public method to return the next possible completion for 'text'.</td> |
180 </dd> |
183 </dd> |
181 </dl><dl> |
184 </dl><dl> |
182 <dt>Raises <b>TypeError</b>:</dt> |
185 <dt>Raises <b>TypeError</b>:</dt> |
183 <dd> |
186 <dd> |
184 raised to indicate a wrong namespace structure |
187 raised to indicate a wrong namespace structure |
|
188 </dd> |
|
189 </dl><a NAME="Completer._callable_postfix" ID="Completer._callable_postfix"></a> |
|
190 <h4>Completer._callable_postfix</h4> |
|
191 <b>_callable_postfix</b>(<i>val, word</i>) |
|
192 <p> |
|
193 Protected method to check for a callable. |
|
194 </p><dl> |
|
195 <dt><i>val</i></dt> |
|
196 <dd> |
|
197 value to check (object) |
|
198 </dd><dt><i>word</i></dt> |
|
199 <dd> |
|
200 word to ammend (string) |
|
201 </dd> |
|
202 </dl><dl> |
|
203 <dt>Returns:</dt> |
|
204 <dd> |
|
205 ammended word (string) |
185 </dd> |
206 </dd> |
186 </dl><a NAME="Completer.attr_matches" ID="Completer.attr_matches"></a> |
207 </dl><a NAME="Completer.attr_matches" ID="Completer.attr_matches"></a> |
187 <h4>Completer.attr_matches</h4> |
208 <h4>Completer.attr_matches</h4> |
188 <b>attr_matches</b>(<i>text</i>) |
209 <b>attr_matches</b>(<i>text</i>) |
189 <p> |
210 <p> |