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