|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric5.UtilitiesPython2.pyflakes.messages</title> |
|
4 <meta charset="UTF-8"> |
|
5 <style> |
|
6 body { |
|
7 background: #EDECE6; |
|
8 margin: 0em 1em 10em 1em; |
|
9 color: black; |
|
10 } |
|
11 |
|
12 h1 { color: white; background: #85774A; } |
|
13 h2 { color: white; background: #85774A; } |
|
14 h3 { color: white; background: #9D936E; } |
|
15 h4 { color: white; background: #9D936E; } |
|
16 |
|
17 a { color: #BA6D36; } |
|
18 |
|
19 </style> |
|
20 </head> |
|
21 <body><a NAME="top" ID="top"></a> |
|
22 <h1>eric5.UtilitiesPython2.pyflakes.messages</h1> |
|
23 <p> |
|
24 Module implementing the messages for pyflakes. |
|
25 </p><p> |
|
26 Note: This is a copy of the identical module contained in Utilities.pyflakes. |
|
27 It is here to make it accessible to the external Python 2 process. |
|
28 </p> |
|
29 <h3>Global Attributes</h3> |
|
30 <table> |
|
31 <tr><td>None</td></tr> |
|
32 </table> |
|
33 <h3>Classes</h3> |
|
34 <table> |
|
35 <tr> |
|
36 <td><a href="#DoctestSyntaxError">DoctestSyntaxError</a></td> |
|
37 <td>Class defining the "Doctest syntax Error" message.</td> |
|
38 </tr><tr> |
|
39 <td><a href="#DuplicateArgument">DuplicateArgument</a></td> |
|
40 <td>Class defining the "Duplicate Argument" message.</td> |
|
41 </tr><tr> |
|
42 <td><a href="#ImportShadowedByLoopVar">ImportShadowedByLoopVar</a></td> |
|
43 <td>Class defining the "Import Shadowed By Loop Var" message.</td> |
|
44 </tr><tr> |
|
45 <td><a href="#ImportStarUsed">ImportStarUsed</a></td> |
|
46 <td>Class defining the "Import Star Used" message.</td> |
|
47 </tr><tr> |
|
48 <td><a href="#LateFutureImport">LateFutureImport</a></td> |
|
49 <td>Class defining the "Late Future Import" message.</td> |
|
50 </tr><tr> |
|
51 <td><a href="#Message">Message</a></td> |
|
52 <td>Class defining the base for all specific message classes.</td> |
|
53 </tr><tr> |
|
54 <td><a href="#Redefined">Redefined</a></td> |
|
55 <td>Class defining the "Redefined" message.</td> |
|
56 </tr><tr> |
|
57 <td><a href="#RedefinedInListComp">RedefinedInListComp</a></td> |
|
58 <td>Class defining the "Redefined In List Comprehension" message.</td> |
|
59 </tr><tr> |
|
60 <td><a href="#RedefinedWhileUnused">RedefinedWhileUnused</a></td> |
|
61 <td>Class defining the "Redefined While Unused" message.</td> |
|
62 </tr><tr> |
|
63 <td><a href="#UndefinedExport">UndefinedExport</a></td> |
|
64 <td>Class defining the "Undefined Export" message.</td> |
|
65 </tr><tr> |
|
66 <td><a href="#UndefinedLocal">UndefinedLocal</a></td> |
|
67 <td>Class defining the "Undefined Local Variable" message.</td> |
|
68 </tr><tr> |
|
69 <td><a href="#UndefinedName">UndefinedName</a></td> |
|
70 <td>Class defining the "Undefined Name" message.</td> |
|
71 </tr><tr> |
|
72 <td><a href="#UnusedImport">UnusedImport</a></td> |
|
73 <td>Class defining the "Unused Import" message.</td> |
|
74 </tr><tr> |
|
75 <td><a href="#UnusedVariable">UnusedVariable</a></td> |
|
76 <td>Class defining the "Unused Variable" message.</td> |
|
77 </tr> |
|
78 </table> |
|
79 <h3>Functions</h3> |
|
80 <table> |
|
81 <tr><td>None</td></tr> |
|
82 </table> |
|
83 <hr /><hr /> |
|
84 <a NAME="DoctestSyntaxError" ID="DoctestSyntaxError"></a> |
|
85 <h2>DoctestSyntaxError</h2> |
|
86 <p> |
|
87 Class defining the "Doctest syntax Error" message. |
|
88 </p> |
|
89 <h3>Derived from</h3> |
|
90 Message |
|
91 <h3>Class Attributes</h3> |
|
92 <table> |
|
93 <tr><td>message</td></tr><tr><td>message_id</td></tr> |
|
94 </table> |
|
95 <h3>Class Methods</h3> |
|
96 <table> |
|
97 <tr><td>None</td></tr> |
|
98 </table> |
|
99 <h3>Methods</h3> |
|
100 <table> |
|
101 <tr> |
|
102 <td><a href="#DoctestSyntaxError.__init__">DoctestSyntaxError</a></td> |
|
103 <td>Constructor</td> |
|
104 </tr> |
|
105 </table> |
|
106 <h3>Static Methods</h3> |
|
107 <table> |
|
108 <tr><td>None</td></tr> |
|
109 </table> |
|
110 <a NAME="DoctestSyntaxError.__init__" ID="DoctestSyntaxError.__init__"></a> |
|
111 <h4>DoctestSyntaxError (Constructor)</h4> |
|
112 <b>DoctestSyntaxError</b>(<i>filename, loc, position=None</i>) |
|
113 <p> |
|
114 Constructor |
|
115 </p><dl> |
|
116 <dt><i>filename</i></dt> |
|
117 <dd> |
|
118 name of the file (string) |
|
119 </dd><dt><i>loc</i></dt> |
|
120 <dd> |
|
121 location of the issue |
|
122 </dd><dt><i>position</i></dt> |
|
123 <dd> |
|
124 position of the syntax error |
|
125 </dd> |
|
126 </dl> |
|
127 <div align="right"><a href="#top">Up</a></div> |
|
128 <hr /><hr /> |
|
129 <a NAME="DuplicateArgument" ID="DuplicateArgument"></a> |
|
130 <h2>DuplicateArgument</h2> |
|
131 <p> |
|
132 Class defining the "Duplicate Argument" message. |
|
133 </p> |
|
134 <h3>Derived from</h3> |
|
135 Message |
|
136 <h3>Class Attributes</h3> |
|
137 <table> |
|
138 <tr><td>message</td></tr><tr><td>message_id</td></tr> |
|
139 </table> |
|
140 <h3>Class Methods</h3> |
|
141 <table> |
|
142 <tr><td>None</td></tr> |
|
143 </table> |
|
144 <h3>Methods</h3> |
|
145 <table> |
|
146 <tr> |
|
147 <td><a href="#DuplicateArgument.__init__">DuplicateArgument</a></td> |
|
148 <td>Constructor</td> |
|
149 </tr> |
|
150 </table> |
|
151 <h3>Static Methods</h3> |
|
152 <table> |
|
153 <tr><td>None</td></tr> |
|
154 </table> |
|
155 <a NAME="DuplicateArgument.__init__" ID="DuplicateArgument.__init__"></a> |
|
156 <h4>DuplicateArgument (Constructor)</h4> |
|
157 <b>DuplicateArgument</b>(<i>filename, loc, name</i>) |
|
158 <p> |
|
159 Constructor |
|
160 </p><dl> |
|
161 <dt><i>filename</i></dt> |
|
162 <dd> |
|
163 name of the file (string) |
|
164 </dd><dt><i>loc</i></dt> |
|
165 <dd> |
|
166 location of the issue |
|
167 </dd><dt><i>name</i></dt> |
|
168 <dd> |
|
169 name of the duplicate argument (string) |
|
170 </dd> |
|
171 </dl> |
|
172 <div align="right"><a href="#top">Up</a></div> |
|
173 <hr /><hr /> |
|
174 <a NAME="ImportShadowedByLoopVar" ID="ImportShadowedByLoopVar"></a> |
|
175 <h2>ImportShadowedByLoopVar</h2> |
|
176 <p> |
|
177 Class defining the "Import Shadowed By Loop Var" message. |
|
178 </p> |
|
179 <h3>Derived from</h3> |
|
180 Message |
|
181 <h3>Class Attributes</h3> |
|
182 <table> |
|
183 <tr><td>message</td></tr><tr><td>message_id</td></tr> |
|
184 </table> |
|
185 <h3>Class Methods</h3> |
|
186 <table> |
|
187 <tr><td>None</td></tr> |
|
188 </table> |
|
189 <h3>Methods</h3> |
|
190 <table> |
|
191 <tr> |
|
192 <td><a href="#ImportShadowedByLoopVar.__init__">ImportShadowedByLoopVar</a></td> |
|
193 <td>Constructor</td> |
|
194 </tr> |
|
195 </table> |
|
196 <h3>Static Methods</h3> |
|
197 <table> |
|
198 <tr><td>None</td></tr> |
|
199 </table> |
|
200 <a NAME="ImportShadowedByLoopVar.__init__" ID="ImportShadowedByLoopVar.__init__"></a> |
|
201 <h4>ImportShadowedByLoopVar (Constructor)</h4> |
|
202 <b>ImportShadowedByLoopVar</b>(<i>filename, loc, name, orig_loc</i>) |
|
203 <p> |
|
204 Constructor |
|
205 </p><dl> |
|
206 <dt><i>filename</i></dt> |
|
207 <dd> |
|
208 name of the file (string) |
|
209 </dd><dt><i>loc</i></dt> |
|
210 <dd> |
|
211 location of the issue |
|
212 </dd><dt><i>name</i></dt> |
|
213 <dd> |
|
214 name of the shadowed import (string) |
|
215 </dd><dt><i>orig_loc</i></dt> |
|
216 <dd> |
|
217 location of the import |
|
218 </dd> |
|
219 </dl> |
|
220 <div align="right"><a href="#top">Up</a></div> |
|
221 <hr /><hr /> |
|
222 <a NAME="ImportStarUsed" ID="ImportStarUsed"></a> |
|
223 <h2>ImportStarUsed</h2> |
|
224 <p> |
|
225 Class defining the "Import Star Used" message. |
|
226 </p> |
|
227 <h3>Derived from</h3> |
|
228 Message |
|
229 <h3>Class Attributes</h3> |
|
230 <table> |
|
231 <tr><td>message</td></tr><tr><td>message_id</td></tr> |
|
232 </table> |
|
233 <h3>Class Methods</h3> |
|
234 <table> |
|
235 <tr><td>None</td></tr> |
|
236 </table> |
|
237 <h3>Methods</h3> |
|
238 <table> |
|
239 <tr> |
|
240 <td><a href="#ImportStarUsed.__init__">ImportStarUsed</a></td> |
|
241 <td>Constructor</td> |
|
242 </tr> |
|
243 </table> |
|
244 <h3>Static Methods</h3> |
|
245 <table> |
|
246 <tr><td>None</td></tr> |
|
247 </table> |
|
248 <a NAME="ImportStarUsed.__init__" ID="ImportStarUsed.__init__"></a> |
|
249 <h4>ImportStarUsed (Constructor)</h4> |
|
250 <b>ImportStarUsed</b>(<i>filename, loc, modname</i>) |
|
251 <p> |
|
252 Constructor |
|
253 </p><dl> |
|
254 <dt><i>filename</i></dt> |
|
255 <dd> |
|
256 name of the file (string) |
|
257 </dd><dt><i>loc</i></dt> |
|
258 <dd> |
|
259 location of the issue |
|
260 </dd><dt><i>modname</i></dt> |
|
261 <dd> |
|
262 name of the module imported using star import (string) |
|
263 </dd> |
|
264 </dl> |
|
265 <div align="right"><a href="#top">Up</a></div> |
|
266 <hr /><hr /> |
|
267 <a NAME="LateFutureImport" ID="LateFutureImport"></a> |
|
268 <h2>LateFutureImport</h2> |
|
269 <p> |
|
270 Class defining the "Late Future Import" message. |
|
271 </p> |
|
272 <h3>Derived from</h3> |
|
273 Message |
|
274 <h3>Class Attributes</h3> |
|
275 <table> |
|
276 <tr><td>message</td></tr><tr><td>message_id</td></tr> |
|
277 </table> |
|
278 <h3>Class Methods</h3> |
|
279 <table> |
|
280 <tr><td>None</td></tr> |
|
281 </table> |
|
282 <h3>Methods</h3> |
|
283 <table> |
|
284 <tr> |
|
285 <td><a href="#LateFutureImport.__init__">LateFutureImport</a></td> |
|
286 <td>Constructor</td> |
|
287 </tr> |
|
288 </table> |
|
289 <h3>Static Methods</h3> |
|
290 <table> |
|
291 <tr><td>None</td></tr> |
|
292 </table> |
|
293 <a NAME="LateFutureImport.__init__" ID="LateFutureImport.__init__"></a> |
|
294 <h4>LateFutureImport (Constructor)</h4> |
|
295 <b>LateFutureImport</b>(<i>filename, loc, names</i>) |
|
296 <p> |
|
297 Constructor |
|
298 </p><dl> |
|
299 <dt><i>filename</i></dt> |
|
300 <dd> |
|
301 name of the file (string) |
|
302 </dd><dt><i>loc</i></dt> |
|
303 <dd> |
|
304 location of the issue |
|
305 </dd><dt><i>names</i></dt> |
|
306 <dd> |
|
307 names of the imported futures (string) |
|
308 </dd> |
|
309 </dl> |
|
310 <div align="right"><a href="#top">Up</a></div> |
|
311 <hr /><hr /> |
|
312 <a NAME="Message" ID="Message"></a> |
|
313 <h2>Message</h2> |
|
314 <p> |
|
315 Class defining the base for all specific message classes. |
|
316 </p> |
|
317 <h3>Derived from</h3> |
|
318 object |
|
319 <h3>Class Attributes</h3> |
|
320 <table> |
|
321 <tr><td>message</td></tr><tr><td>message_args</td></tr><tr><td>message_id</td></tr> |
|
322 </table> |
|
323 <h3>Class Methods</h3> |
|
324 <table> |
|
325 <tr><td>None</td></tr> |
|
326 </table> |
|
327 <h3>Methods</h3> |
|
328 <table> |
|
329 <tr> |
|
330 <td><a href="#Message.__init__">Message</a></td> |
|
331 <td>Constructor</td> |
|
332 </tr><tr> |
|
333 <td><a href="#Message.__str__">__str__</a></td> |
|
334 <td>Special method return a string representation of the instance object.</td> |
|
335 </tr><tr> |
|
336 <td><a href="#Message.getMessageData">getMessageData</a></td> |
|
337 <td>Public method to get the individual message data elements.</td> |
|
338 </tr> |
|
339 </table> |
|
340 <h3>Static Methods</h3> |
|
341 <table> |
|
342 <tr><td>None</td></tr> |
|
343 </table> |
|
344 <a NAME="Message.__init__" ID="Message.__init__"></a> |
|
345 <h4>Message (Constructor)</h4> |
|
346 <b>Message</b>(<i>filename, loc</i>) |
|
347 <p> |
|
348 Constructor |
|
349 </p><dl> |
|
350 <dt><i>filename</i></dt> |
|
351 <dd> |
|
352 name of the file (string) |
|
353 </dd><dt><i>loc</i></dt> |
|
354 <dd> |
|
355 location of the issue |
|
356 </dd> |
|
357 </dl><a NAME="Message.__str__" ID="Message.__str__"></a> |
|
358 <h4>Message.__str__</h4> |
|
359 <b>__str__</b>(<i></i>) |
|
360 <p> |
|
361 Special method return a string representation of the instance object. |
|
362 </p><dl> |
|
363 <dt>Returns:</dt> |
|
364 <dd> |
|
365 string representation of the object (string) |
|
366 </dd> |
|
367 </dl><a NAME="Message.getMessageData" ID="Message.getMessageData"></a> |
|
368 <h4>Message.getMessageData</h4> |
|
369 <b>getMessageData</b>(<i></i>) |
|
370 <p> |
|
371 Public method to get the individual message data elements. |
|
372 </p><dl> |
|
373 <dt>Returns:</dt> |
|
374 <dd> |
|
375 tuple containing file name, line number, message ID and |
|
376 message arguments (string, integer, string, list) |
|
377 </dd> |
|
378 </dl> |
|
379 <div align="right"><a href="#top">Up</a></div> |
|
380 <hr /><hr /> |
|
381 <a NAME="Redefined" ID="Redefined"></a> |
|
382 <h2>Redefined</h2> |
|
383 <p> |
|
384 Class defining the "Redefined" message. |
|
385 </p> |
|
386 <h3>Derived from</h3> |
|
387 Message |
|
388 <h3>Class Attributes</h3> |
|
389 <table> |
|
390 <tr><td>message</td></tr><tr><td>message_id</td></tr> |
|
391 </table> |
|
392 <h3>Class Methods</h3> |
|
393 <table> |
|
394 <tr><td>None</td></tr> |
|
395 </table> |
|
396 <h3>Methods</h3> |
|
397 <table> |
|
398 <tr> |
|
399 <td><a href="#Redefined.__init__">Redefined</a></td> |
|
400 <td>Constructor</td> |
|
401 </tr> |
|
402 </table> |
|
403 <h3>Static Methods</h3> |
|
404 <table> |
|
405 <tr><td>None</td></tr> |
|
406 </table> |
|
407 <a NAME="Redefined.__init__" ID="Redefined.__init__"></a> |
|
408 <h4>Redefined (Constructor)</h4> |
|
409 <b>Redefined</b>(<i>filename, loc, name, orig_loc</i>) |
|
410 <p> |
|
411 Constructor |
|
412 </p><dl> |
|
413 <dt><i>filename</i></dt> |
|
414 <dd> |
|
415 name of the file (string) |
|
416 </dd><dt><i>loc</i></dt> |
|
417 <dd> |
|
418 location of the issue |
|
419 </dd><dt><i>name</i></dt> |
|
420 <dd> |
|
421 name of the redefined function (string) |
|
422 </dd><dt><i>orig_loc</i></dt> |
|
423 <dd> |
|
424 location of the original definition |
|
425 </dd> |
|
426 </dl> |
|
427 <div align="right"><a href="#top">Up</a></div> |
|
428 <hr /><hr /> |
|
429 <a NAME="RedefinedInListComp" ID="RedefinedInListComp"></a> |
|
430 <h2>RedefinedInListComp</h2> |
|
431 <p> |
|
432 Class defining the "Redefined In List Comprehension" message. |
|
433 </p> |
|
434 <h3>Derived from</h3> |
|
435 Message |
|
436 <h3>Class Attributes</h3> |
|
437 <table> |
|
438 <tr><td>message</td></tr><tr><td>message_id</td></tr> |
|
439 </table> |
|
440 <h3>Class Methods</h3> |
|
441 <table> |
|
442 <tr><td>None</td></tr> |
|
443 </table> |
|
444 <h3>Methods</h3> |
|
445 <table> |
|
446 <tr> |
|
447 <td><a href="#RedefinedInListComp.__init__">RedefinedInListComp</a></td> |
|
448 <td>Constructor</td> |
|
449 </tr> |
|
450 </table> |
|
451 <h3>Static Methods</h3> |
|
452 <table> |
|
453 <tr><td>None</td></tr> |
|
454 </table> |
|
455 <a NAME="RedefinedInListComp.__init__" ID="RedefinedInListComp.__init__"></a> |
|
456 <h4>RedefinedInListComp (Constructor)</h4> |
|
457 <b>RedefinedInListComp</b>(<i>filename, loc, name, orig_loc</i>) |
|
458 <p> |
|
459 Constructor |
|
460 </p><dl> |
|
461 <dt><i>filename</i></dt> |
|
462 <dd> |
|
463 name of the file (string) |
|
464 </dd><dt><i>loc</i></dt> |
|
465 <dd> |
|
466 location of the issue |
|
467 </dd><dt><i>name</i></dt> |
|
468 <dd> |
|
469 name of the redefined object (string) |
|
470 </dd><dt><i>orig_loc</i></dt> |
|
471 <dd> |
|
472 location of the original definition |
|
473 </dd> |
|
474 </dl> |
|
475 <div align="right"><a href="#top">Up</a></div> |
|
476 <hr /><hr /> |
|
477 <a NAME="RedefinedWhileUnused" ID="RedefinedWhileUnused"></a> |
|
478 <h2>RedefinedWhileUnused</h2> |
|
479 <p> |
|
480 Class defining the "Redefined While Unused" message. |
|
481 </p> |
|
482 <h3>Derived from</h3> |
|
483 Message |
|
484 <h3>Class Attributes</h3> |
|
485 <table> |
|
486 <tr><td>message</td></tr><tr><td>message_id</td></tr> |
|
487 </table> |
|
488 <h3>Class Methods</h3> |
|
489 <table> |
|
490 <tr><td>None</td></tr> |
|
491 </table> |
|
492 <h3>Methods</h3> |
|
493 <table> |
|
494 <tr> |
|
495 <td><a href="#RedefinedWhileUnused.__init__">RedefinedWhileUnused</a></td> |
|
496 <td>Constructor</td> |
|
497 </tr> |
|
498 </table> |
|
499 <h3>Static Methods</h3> |
|
500 <table> |
|
501 <tr><td>None</td></tr> |
|
502 </table> |
|
503 <a NAME="RedefinedWhileUnused.__init__" ID="RedefinedWhileUnused.__init__"></a> |
|
504 <h4>RedefinedWhileUnused (Constructor)</h4> |
|
505 <b>RedefinedWhileUnused</b>(<i>filename, loc, name, orig_loc</i>) |
|
506 <p> |
|
507 Constructor |
|
508 </p><dl> |
|
509 <dt><i>filename</i></dt> |
|
510 <dd> |
|
511 name of the file (string) |
|
512 </dd><dt><i>loc</i></dt> |
|
513 <dd> |
|
514 location of the issue |
|
515 </dd><dt><i>name</i></dt> |
|
516 <dd> |
|
517 name of the redefined object (string) |
|
518 </dd><dt><i>orig_loc</i></dt> |
|
519 <dd> |
|
520 location of the original definition |
|
521 </dd> |
|
522 </dl> |
|
523 <div align="right"><a href="#top">Up</a></div> |
|
524 <hr /><hr /> |
|
525 <a NAME="UndefinedExport" ID="UndefinedExport"></a> |
|
526 <h2>UndefinedExport</h2> |
|
527 <p> |
|
528 Class defining the "Undefined Export" message. |
|
529 </p> |
|
530 <h3>Derived from</h3> |
|
531 Message |
|
532 <h3>Class Attributes</h3> |
|
533 <table> |
|
534 <tr><td>message</td></tr><tr><td>message_id</td></tr> |
|
535 </table> |
|
536 <h3>Class Methods</h3> |
|
537 <table> |
|
538 <tr><td>None</td></tr> |
|
539 </table> |
|
540 <h3>Methods</h3> |
|
541 <table> |
|
542 <tr> |
|
543 <td><a href="#UndefinedExport.__init__">UndefinedExport</a></td> |
|
544 <td>Constructor</td> |
|
545 </tr> |
|
546 </table> |
|
547 <h3>Static Methods</h3> |
|
548 <table> |
|
549 <tr><td>None</td></tr> |
|
550 </table> |
|
551 <a NAME="UndefinedExport.__init__" ID="UndefinedExport.__init__"></a> |
|
552 <h4>UndefinedExport (Constructor)</h4> |
|
553 <b>UndefinedExport</b>(<i>filename, loc, name</i>) |
|
554 <p> |
|
555 Constructor |
|
556 </p><dl> |
|
557 <dt><i>filename</i></dt> |
|
558 <dd> |
|
559 name of the file (string) |
|
560 </dd><dt><i>loc</i></dt> |
|
561 <dd> |
|
562 location of the issue |
|
563 </dd><dt><i>name</i></dt> |
|
564 <dd> |
|
565 undefined exported name (string) |
|
566 </dd> |
|
567 </dl> |
|
568 <div align="right"><a href="#top">Up</a></div> |
|
569 <hr /><hr /> |
|
570 <a NAME="UndefinedLocal" ID="UndefinedLocal"></a> |
|
571 <h2>UndefinedLocal</h2> |
|
572 <p> |
|
573 Class defining the "Undefined Local Variable" message. |
|
574 </p> |
|
575 <h3>Derived from</h3> |
|
576 Message |
|
577 <h3>Class Attributes</h3> |
|
578 <table> |
|
579 <tr><td>message</td></tr><tr><td>message_id</td></tr> |
|
580 </table> |
|
581 <h3>Class Methods</h3> |
|
582 <table> |
|
583 <tr><td>None</td></tr> |
|
584 </table> |
|
585 <h3>Methods</h3> |
|
586 <table> |
|
587 <tr> |
|
588 <td><a href="#UndefinedLocal.__init__">UndefinedLocal</a></td> |
|
589 <td>Constructor</td> |
|
590 </tr> |
|
591 </table> |
|
592 <h3>Static Methods</h3> |
|
593 <table> |
|
594 <tr><td>None</td></tr> |
|
595 </table> |
|
596 <a NAME="UndefinedLocal.__init__" ID="UndefinedLocal.__init__"></a> |
|
597 <h4>UndefinedLocal (Constructor)</h4> |
|
598 <b>UndefinedLocal</b>(<i>filename, loc, name, orig_loc</i>) |
|
599 <p> |
|
600 Constructor |
|
601 </p><dl> |
|
602 <dt><i>filename</i></dt> |
|
603 <dd> |
|
604 name of the file (string) |
|
605 </dd><dt><i>loc</i></dt> |
|
606 <dd> |
|
607 location of the issue |
|
608 </dd><dt><i>name</i></dt> |
|
609 <dd> |
|
610 name of the prematurely referenced variable (string) |
|
611 </dd><dt><i>orig_loc</i></dt> |
|
612 <dd> |
|
613 location of the variable definition |
|
614 </dd> |
|
615 </dl> |
|
616 <div align="right"><a href="#top">Up</a></div> |
|
617 <hr /><hr /> |
|
618 <a NAME="UndefinedName" ID="UndefinedName"></a> |
|
619 <h2>UndefinedName</h2> |
|
620 <p> |
|
621 Class defining the "Undefined Name" message. |
|
622 </p> |
|
623 <h3>Derived from</h3> |
|
624 Message |
|
625 <h3>Class Attributes</h3> |
|
626 <table> |
|
627 <tr><td>message</td></tr><tr><td>message_id</td></tr> |
|
628 </table> |
|
629 <h3>Class Methods</h3> |
|
630 <table> |
|
631 <tr><td>None</td></tr> |
|
632 </table> |
|
633 <h3>Methods</h3> |
|
634 <table> |
|
635 <tr> |
|
636 <td><a href="#UndefinedName.__init__">UndefinedName</a></td> |
|
637 <td>Constructor</td> |
|
638 </tr> |
|
639 </table> |
|
640 <h3>Static Methods</h3> |
|
641 <table> |
|
642 <tr><td>None</td></tr> |
|
643 </table> |
|
644 <a NAME="UndefinedName.__init__" ID="UndefinedName.__init__"></a> |
|
645 <h4>UndefinedName (Constructor)</h4> |
|
646 <b>UndefinedName</b>(<i>filename, loc, name</i>) |
|
647 <p> |
|
648 Constructor |
|
649 </p><dl> |
|
650 <dt><i>filename</i></dt> |
|
651 <dd> |
|
652 name of the file (string) |
|
653 </dd><dt><i>loc</i></dt> |
|
654 <dd> |
|
655 location of the issue |
|
656 </dd><dt><i>name</i></dt> |
|
657 <dd> |
|
658 undefined name (string) |
|
659 </dd> |
|
660 </dl> |
|
661 <div align="right"><a href="#top">Up</a></div> |
|
662 <hr /><hr /> |
|
663 <a NAME="UnusedImport" ID="UnusedImport"></a> |
|
664 <h2>UnusedImport</h2> |
|
665 <p> |
|
666 Class defining the "Unused Import" message. |
|
667 </p> |
|
668 <h3>Derived from</h3> |
|
669 Message |
|
670 <h3>Class Attributes</h3> |
|
671 <table> |
|
672 <tr><td>message</td></tr><tr><td>message_id</td></tr> |
|
673 </table> |
|
674 <h3>Class Methods</h3> |
|
675 <table> |
|
676 <tr><td>None</td></tr> |
|
677 </table> |
|
678 <h3>Methods</h3> |
|
679 <table> |
|
680 <tr> |
|
681 <td><a href="#UnusedImport.__init__">UnusedImport</a></td> |
|
682 <td>Constructor</td> |
|
683 </tr> |
|
684 </table> |
|
685 <h3>Static Methods</h3> |
|
686 <table> |
|
687 <tr><td>None</td></tr> |
|
688 </table> |
|
689 <a NAME="UnusedImport.__init__" ID="UnusedImport.__init__"></a> |
|
690 <h4>UnusedImport (Constructor)</h4> |
|
691 <b>UnusedImport</b>(<i>filename, loc, name</i>) |
|
692 <p> |
|
693 Constructor |
|
694 </p><dl> |
|
695 <dt><i>filename</i></dt> |
|
696 <dd> |
|
697 name of the file (string) |
|
698 </dd><dt><i>loc</i></dt> |
|
699 <dd> |
|
700 location of the issue |
|
701 </dd><dt><i>name</i></dt> |
|
702 <dd> |
|
703 name of the unused import (string) |
|
704 </dd> |
|
705 </dl> |
|
706 <div align="right"><a href="#top">Up</a></div> |
|
707 <hr /><hr /> |
|
708 <a NAME="UnusedVariable" ID="UnusedVariable"></a> |
|
709 <h2>UnusedVariable</h2> |
|
710 <p> |
|
711 Class defining the "Unused Variable" message. |
|
712 </p><p> |
|
713 Indicates that a variable has been explicitly assigned to but not actually |
|
714 used. |
|
715 </p> |
|
716 <h3>Derived from</h3> |
|
717 Message |
|
718 <h3>Class Attributes</h3> |
|
719 <table> |
|
720 <tr><td>message</td></tr><tr><td>message_id</td></tr> |
|
721 </table> |
|
722 <h3>Class Methods</h3> |
|
723 <table> |
|
724 <tr><td>None</td></tr> |
|
725 </table> |
|
726 <h3>Methods</h3> |
|
727 <table> |
|
728 <tr> |
|
729 <td><a href="#UnusedVariable.__init__">UnusedVariable</a></td> |
|
730 <td>Constructor</td> |
|
731 </tr> |
|
732 </table> |
|
733 <h3>Static Methods</h3> |
|
734 <table> |
|
735 <tr><td>None</td></tr> |
|
736 </table> |
|
737 <a NAME="UnusedVariable.__init__" ID="UnusedVariable.__init__"></a> |
|
738 <h4>UnusedVariable (Constructor)</h4> |
|
739 <b>UnusedVariable</b>(<i>filename, loc, names</i>) |
|
740 <p> |
|
741 Constructor |
|
742 </p><dl> |
|
743 <dt><i>filename</i></dt> |
|
744 <dd> |
|
745 name of the file (string) |
|
746 </dd><dt><i>loc</i></dt> |
|
747 <dd> |
|
748 location of the issue |
|
749 </dd><dt><i>names</i></dt> |
|
750 <dd> |
|
751 names of unused variable (string) |
|
752 </dd> |
|
753 </dl> |
|
754 <div align="right"><a href="#top">Up</a></div> |
|
755 <hr /> |
|
756 </body></html> |