Documentation/Source/eric5.UtilitiesPython2.py2flakes.messages.html

changeset 3217
87b8a0745edd
parent 3205
157dcfafc5d2
equal deleted inserted replaced
3215:6c5877c48067 3217:87b8a0745edd
20 </head> 20 </head>
21 <body><a NAME="top" ID="top"></a> 21 <body><a NAME="top" ID="top"></a>
22 <h1>eric5.UtilitiesPython2.py2flakes.messages</h1> 22 <h1>eric5.UtilitiesPython2.py2flakes.messages</h1>
23 <p> 23 <p>
24 Module implementing the messages for pyflakes. 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.
25 </p> 28 </p>
26 <h3>Global Attributes</h3> 29 <h3>Global Attributes</h3>
27 <table> 30 <table>
28 <tr><td>None</td></tr> 31 <tr><td>None</td></tr>
29 </table> 32 </table>
30 <h3>Classes</h3> 33 <h3>Classes</h3>
31 <table> 34 <table>
32 <tr> 35 <tr>
36 <td><a href="#DoctestSyntaxError">DoctestSyntaxError</a></td>
37 <td>Class defining the "Doctest syntax Error" message.</td>
38 </tr><tr>
33 <td><a href="#DuplicateArgument">DuplicateArgument</a></td> 39 <td><a href="#DuplicateArgument">DuplicateArgument</a></td>
34 <td>Class defining the "Duplicate Argument" message.</td> 40 <td>Class defining the "Duplicate Argument" message.</td>
35 </tr><tr> 41 </tr><tr>
36 <td><a href="#ImportShadowedByLoopVar">ImportShadowedByLoopVar</a></td> 42 <td><a href="#ImportShadowedByLoopVar">ImportShadowedByLoopVar</a></td>
37 <td>Class defining the "Import Shadowed By Loop Var" message.</td> 43 <td>Class defining the "Import Shadowed By Loop Var" message.</td>
43 <td>Class defining the "Late Future Import" message.</td> 49 <td>Class defining the "Late Future Import" message.</td>
44 </tr><tr> 50 </tr><tr>
45 <td><a href="#Message">Message</a></td> 51 <td><a href="#Message">Message</a></td>
46 <td>Class defining the base for all specific message classes.</td> 52 <td>Class defining the base for all specific message classes.</td>
47 </tr><tr> 53 </tr><tr>
48 <td><a href="#RedefinedFunction">RedefinedFunction</a></td> 54 <td><a href="#Redefined">Redefined</a></td>
49 <td>Class defining the "Redefined Function" message.</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>
50 </tr><tr> 59 </tr><tr>
51 <td><a href="#RedefinedWhileUnused">RedefinedWhileUnused</a></td> 60 <td><a href="#RedefinedWhileUnused">RedefinedWhileUnused</a></td>
52 <td>Class defining the "Redefined While Unused" message.</td> 61 <td>Class defining the "Redefined While Unused" message.</td>
53 </tr><tr> 62 </tr><tr>
54 <td><a href="#UndefinedExport">UndefinedExport</a></td> 63 <td><a href="#UndefinedExport">UndefinedExport</a></td>
70 <h3>Functions</h3> 79 <h3>Functions</h3>
71 <table> 80 <table>
72 <tr><td>None</td></tr> 81 <tr><td>None</td></tr>
73 </table> 82 </table>
74 <hr /><hr /> 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 />
75 <a NAME="DuplicateArgument" ID="DuplicateArgument"></a> 129 <a NAME="DuplicateArgument" ID="DuplicateArgument"></a>
76 <h2>DuplicateArgument</h2> 130 <h2>DuplicateArgument</h2>
77 <p> 131 <p>
78 Class defining the "Duplicate Argument" message. 132 Class defining the "Duplicate Argument" message.
79 </p> 133 </p>
98 <table> 152 <table>
99 <tr><td>None</td></tr> 153 <tr><td>None</td></tr>
100 </table> 154 </table>
101 <a NAME="DuplicateArgument.__init__" ID="DuplicateArgument.__init__"></a> 155 <a NAME="DuplicateArgument.__init__" ID="DuplicateArgument.__init__"></a>
102 <h4>DuplicateArgument (Constructor)</h4> 156 <h4>DuplicateArgument (Constructor)</h4>
103 <b>DuplicateArgument</b>(<i>filename, lineno, name</i>) 157 <b>DuplicateArgument</b>(<i>filename, loc, name</i>)
104 <p> 158 <p>
105 Constructor 159 Constructor
106 </p><dl> 160 </p><dl>
107 <dt><i>filename</i></dt> 161 <dt><i>filename</i></dt>
108 <dd> 162 <dd>
109 name of the file (string) 163 name of the file (string)
110 </dd><dt><i>lineno</i></dt> 164 </dd><dt><i>loc</i></dt>
111 <dd> 165 <dd>
112 line number (integer) 166 location of the issue
113 </dd><dt><i>name</i></dt> 167 </dd><dt><i>name</i></dt>
114 <dd> 168 <dd>
115 name of the duplicate argument (string) 169 name of the duplicate argument (string)
116 </dd> 170 </dd>
117 </dl> 171 </dl>
143 <table> 197 <table>
144 <tr><td>None</td></tr> 198 <tr><td>None</td></tr>
145 </table> 199 </table>
146 <a NAME="ImportShadowedByLoopVar.__init__" ID="ImportShadowedByLoopVar.__init__"></a> 200 <a NAME="ImportShadowedByLoopVar.__init__" ID="ImportShadowedByLoopVar.__init__"></a>
147 <h4>ImportShadowedByLoopVar (Constructor)</h4> 201 <h4>ImportShadowedByLoopVar (Constructor)</h4>
148 <b>ImportShadowedByLoopVar</b>(<i>filename, lineno, name, orig_lineno</i>) 202 <b>ImportShadowedByLoopVar</b>(<i>filename, loc, name, orig_loc</i>)
149 <p> 203 <p>
150 Constructor 204 Constructor
151 </p><dl> 205 </p><dl>
152 <dt><i>filename</i></dt> 206 <dt><i>filename</i></dt>
153 <dd> 207 <dd>
154 name of the file (string) 208 name of the file (string)
155 </dd><dt><i>lineno</i></dt> 209 </dd><dt><i>loc</i></dt>
156 <dd> 210 <dd>
157 line number (integer) 211 location of the issue
158 </dd><dt><i>name</i></dt> 212 </dd><dt><i>name</i></dt>
159 <dd> 213 <dd>
160 name of the shadowed import (string) 214 name of the shadowed import (string)
161 </dd><dt><i>orig_lineno</i></dt> 215 </dd><dt><i>orig_loc</i></dt>
162 <dd> 216 <dd>
163 line number of the import (integer) 217 location of the import
164 </dd> 218 </dd>
165 </dl> 219 </dl>
166 <div align="right"><a href="#top">Up</a></div> 220 <div align="right"><a href="#top">Up</a></div>
167 <hr /><hr /> 221 <hr /><hr />
168 <a NAME="ImportStarUsed" ID="ImportStarUsed"></a> 222 <a NAME="ImportStarUsed" ID="ImportStarUsed"></a>
191 <table> 245 <table>
192 <tr><td>None</td></tr> 246 <tr><td>None</td></tr>
193 </table> 247 </table>
194 <a NAME="ImportStarUsed.__init__" ID="ImportStarUsed.__init__"></a> 248 <a NAME="ImportStarUsed.__init__" ID="ImportStarUsed.__init__"></a>
195 <h4>ImportStarUsed (Constructor)</h4> 249 <h4>ImportStarUsed (Constructor)</h4>
196 <b>ImportStarUsed</b>(<i>filename, lineno, modname</i>) 250 <b>ImportStarUsed</b>(<i>filename, loc, modname</i>)
197 <p> 251 <p>
198 Constructor 252 Constructor
199 </p><dl> 253 </p><dl>
200 <dt><i>filename</i></dt> 254 <dt><i>filename</i></dt>
201 <dd> 255 <dd>
202 name of the file (string) 256 name of the file (string)
203 </dd><dt><i>lineno</i></dt> 257 </dd><dt><i>loc</i></dt>
204 <dd> 258 <dd>
205 line number (integer) 259 location of the issue
206 </dd><dt><i>modname</i></dt> 260 </dd><dt><i>modname</i></dt>
207 <dd> 261 <dd>
208 name of the module imported using star import (string) 262 name of the module imported using star import (string)
209 </dd> 263 </dd>
210 </dl> 264 </dl>
236 <table> 290 <table>
237 <tr><td>None</td></tr> 291 <tr><td>None</td></tr>
238 </table> 292 </table>
239 <a NAME="LateFutureImport.__init__" ID="LateFutureImport.__init__"></a> 293 <a NAME="LateFutureImport.__init__" ID="LateFutureImport.__init__"></a>
240 <h4>LateFutureImport (Constructor)</h4> 294 <h4>LateFutureImport (Constructor)</h4>
241 <b>LateFutureImport</b>(<i>filename, lineno, names</i>) 295 <b>LateFutureImport</b>(<i>filename, loc, names</i>)
242 <p> 296 <p>
243 Constructor 297 Constructor
244 </p><dl> 298 </p><dl>
245 <dt><i>filename</i></dt> 299 <dt><i>filename</i></dt>
246 <dd> 300 <dd>
247 name of the file (string) 301 name of the file (string)
248 </dd><dt><i>lineno</i></dt> 302 </dd><dt><i>loc</i></dt>
249 <dd> 303 <dd>
250 line number (integer) 304 location of the issue
251 </dd><dt><i>names</i></dt> 305 </dd><dt><i>names</i></dt>
252 <dd> 306 <dd>
253 names of the imported futures (string) 307 names of the imported futures (string)
254 </dd> 308 </dd>
255 </dl> 309 </dl>
287 <table> 341 <table>
288 <tr><td>None</td></tr> 342 <tr><td>None</td></tr>
289 </table> 343 </table>
290 <a NAME="Message.__init__" ID="Message.__init__"></a> 344 <a NAME="Message.__init__" ID="Message.__init__"></a>
291 <h4>Message (Constructor)</h4> 345 <h4>Message (Constructor)</h4>
292 <b>Message</b>(<i>filename, lineno</i>) 346 <b>Message</b>(<i>filename, loc</i>)
293 <p> 347 <p>
294 Constructor 348 Constructor
295 </p><dl> 349 </p><dl>
296 <dt><i>filename</i></dt> 350 <dt><i>filename</i></dt>
297 <dd> 351 <dd>
298 name of the file (string) 352 name of the file (string)
299 </dd><dt><i>lineno</i></dt> 353 </dd><dt><i>loc</i></dt>
300 <dd> 354 <dd>
301 line number (integer) 355 location of the issue
302 </dd> 356 </dd>
303 </dl><a NAME="Message.__str__" ID="Message.__str__"></a> 357 </dl><a NAME="Message.__str__" ID="Message.__str__"></a>
304 <h4>Message.__str__</h4> 358 <h4>Message.__str__</h4>
305 <b>__str__</b>(<i></i>) 359 <b>__str__</b>(<i></i>)
306 <p> 360 <p>
322 message arguments (string, integer, string, list) 376 message arguments (string, integer, string, list)
323 </dd> 377 </dd>
324 </dl> 378 </dl>
325 <div align="right"><a href="#top">Up</a></div> 379 <div align="right"><a href="#top">Up</a></div>
326 <hr /><hr /> 380 <hr /><hr />
327 <a NAME="RedefinedFunction" ID="RedefinedFunction"></a> 381 <a NAME="Redefined" ID="Redefined"></a>
328 <h2>RedefinedFunction</h2> 382 <h2>Redefined</h2>
329 <p> 383 <p>
330 Class defining the "Redefined Function" message. 384 Class defining the "Redefined" message.
331 </p> 385 </p>
332 <h3>Derived from</h3> 386 <h3>Derived from</h3>
333 Message 387 Message
334 <h3>Class Attributes</h3> 388 <h3>Class Attributes</h3>
335 <table> 389 <table>
336 <tr><td>message</td></tr><tr><td>message_id</td></tr> 390 <tr><td>message</td></tr><tr><td>message_id</td></tr>
337 </table> 391 </table>
338 <h3>Class Methods</h3> 392 <h3>Class Methods</h3>
339 <table> 393 <table>
340 <tr><td>None</td></tr> 394 <tr><td>None</td></tr>
341 </table> 395 </table>
342 <h3>Methods</h3> 396 <h3>Methods</h3>
343 <table> 397 <table>
344 <tr> 398 <tr>
345 <td><a href="#RedefinedFunction.__init__">RedefinedFunction</a></td> 399 <td><a href="#Redefined.__init__">Redefined</a></td>
346 <td>Constructor</td> 400 <td>Constructor</td>
347 </tr> 401 </tr>
348 </table> 402 </table>
349 <h3>Static Methods</h3> 403 <h3>Static Methods</h3>
350 <table> 404 <table>
351 <tr><td>None</td></tr> 405 <tr><td>None</td></tr>
352 </table> 406 </table>
353 <a NAME="RedefinedFunction.__init__" ID="RedefinedFunction.__init__"></a> 407 <a NAME="Redefined.__init__" ID="Redefined.__init__"></a>
354 <h4>RedefinedFunction (Constructor)</h4> 408 <h4>Redefined (Constructor)</h4>
355 <b>RedefinedFunction</b>(<i>filename, lineno, name, orig_lineno</i>) 409 <b>Redefined</b>(<i>filename, loc, name, orig_loc</i>)
356 <p> 410 <p>
357 Constructor 411 Constructor
358 </p><dl> 412 </p><dl>
359 <dt><i>filename</i></dt> 413 <dt><i>filename</i></dt>
360 <dd> 414 <dd>
361 name of the file (string) 415 name of the file (string)
362 </dd><dt><i>lineno</i></dt> 416 </dd><dt><i>loc</i></dt>
363 <dd> 417 <dd>
364 line number (integer) 418 location of the issue
365 </dd><dt><i>name</i></dt> 419 </dd><dt><i>name</i></dt>
366 <dd> 420 <dd>
367 name of the redefined function (string) 421 name of the redefined function (string)
368 </dd><dt><i>orig_lineno</i></dt> 422 </dd><dt><i>orig_loc</i></dt>
369 <dd> 423 <dd>
370 line number of the original definition (integer) 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
371 </dd> 473 </dd>
372 </dl> 474 </dl>
373 <div align="right"><a href="#top">Up</a></div> 475 <div align="right"><a href="#top">Up</a></div>
374 <hr /><hr /> 476 <hr /><hr />
375 <a NAME="RedefinedWhileUnused" ID="RedefinedWhileUnused"></a> 477 <a NAME="RedefinedWhileUnused" ID="RedefinedWhileUnused"></a>
398 <table> 500 <table>
399 <tr><td>None</td></tr> 501 <tr><td>None</td></tr>
400 </table> 502 </table>
401 <a NAME="RedefinedWhileUnused.__init__" ID="RedefinedWhileUnused.__init__"></a> 503 <a NAME="RedefinedWhileUnused.__init__" ID="RedefinedWhileUnused.__init__"></a>
402 <h4>RedefinedWhileUnused (Constructor)</h4> 504 <h4>RedefinedWhileUnused (Constructor)</h4>
403 <b>RedefinedWhileUnused</b>(<i>filename, lineno, name, orig_lineno</i>) 505 <b>RedefinedWhileUnused</b>(<i>filename, loc, name, orig_loc</i>)
404 <p> 506 <p>
405 Constructor 507 Constructor
406 </p><dl> 508 </p><dl>
407 <dt><i>filename</i></dt> 509 <dt><i>filename</i></dt>
408 <dd> 510 <dd>
409 name of the file (string) 511 name of the file (string)
410 </dd><dt><i>lineno</i></dt> 512 </dd><dt><i>loc</i></dt>
411 <dd> 513 <dd>
412 line number (integer) 514 location of the issue
413 </dd><dt><i>name</i></dt> 515 </dd><dt><i>name</i></dt>
414 <dd> 516 <dd>
415 name of the redefined object (string) 517 name of the redefined object (string)
416 </dd><dt><i>orig_lineno</i></dt> 518 </dd><dt><i>orig_loc</i></dt>
417 <dd> 519 <dd>
418 line number of the original definition (integer) 520 location of the original definition
419 </dd> 521 </dd>
420 </dl> 522 </dl>
421 <div align="right"><a href="#top">Up</a></div> 523 <div align="right"><a href="#top">Up</a></div>
422 <hr /><hr /> 524 <hr /><hr />
423 <a NAME="UndefinedExport" ID="UndefinedExport"></a> 525 <a NAME="UndefinedExport" ID="UndefinedExport"></a>
446 <table> 548 <table>
447 <tr><td>None</td></tr> 549 <tr><td>None</td></tr>
448 </table> 550 </table>
449 <a NAME="UndefinedExport.__init__" ID="UndefinedExport.__init__"></a> 551 <a NAME="UndefinedExport.__init__" ID="UndefinedExport.__init__"></a>
450 <h4>UndefinedExport (Constructor)</h4> 552 <h4>UndefinedExport (Constructor)</h4>
451 <b>UndefinedExport</b>(<i>filename, lineno, name</i>) 553 <b>UndefinedExport</b>(<i>filename, loc, name</i>)
452 <p> 554 <p>
453 Constructor 555 Constructor
454 </p><dl> 556 </p><dl>
455 <dt><i>filename</i></dt> 557 <dt><i>filename</i></dt>
456 <dd> 558 <dd>
457 name of the file (string) 559 name of the file (string)
458 </dd><dt><i>lineno</i></dt> 560 </dd><dt><i>loc</i></dt>
459 <dd> 561 <dd>
460 line number (integer) 562 location of the issue
461 </dd><dt><i>name</i></dt> 563 </dd><dt><i>name</i></dt>
462 <dd> 564 <dd>
463 undefined exported name (string) 565 undefined exported name (string)
464 </dd> 566 </dd>
465 </dl> 567 </dl>
491 <table> 593 <table>
492 <tr><td>None</td></tr> 594 <tr><td>None</td></tr>
493 </table> 595 </table>
494 <a NAME="UndefinedLocal.__init__" ID="UndefinedLocal.__init__"></a> 596 <a NAME="UndefinedLocal.__init__" ID="UndefinedLocal.__init__"></a>
495 <h4>UndefinedLocal (Constructor)</h4> 597 <h4>UndefinedLocal (Constructor)</h4>
496 <b>UndefinedLocal</b>(<i>filename, lineno, name, orig_lineno</i>) 598 <b>UndefinedLocal</b>(<i>filename, loc, name, orig_loc</i>)
497 <p> 599 <p>
498 Constructor 600 Constructor
499 </p><dl> 601 </p><dl>
500 <dt><i>filename</i></dt> 602 <dt><i>filename</i></dt>
501 <dd> 603 <dd>
502 name of the file (string) 604 name of the file (string)
503 </dd><dt><i>lineno</i></dt> 605 </dd><dt><i>loc</i></dt>
504 <dd> 606 <dd>
505 line number (integer) 607 location of the issue
506 </dd><dt><i>name</i></dt> 608 </dd><dt><i>name</i></dt>
507 <dd> 609 <dd>
508 name of the prematurely referenced variable (string) 610 name of the prematurely referenced variable (string)
509 </dd><dt><i>orig_lineno</i></dt> 611 </dd><dt><i>orig_loc</i></dt>
510 <dd> 612 <dd>
511 line number of the variable definition (integer) 613 location of the variable definition
512 </dd> 614 </dd>
513 </dl> 615 </dl>
514 <div align="right"><a href="#top">Up</a></div> 616 <div align="right"><a href="#top">Up</a></div>
515 <hr /><hr /> 617 <hr /><hr />
516 <a NAME="UndefinedName" ID="UndefinedName"></a> 618 <a NAME="UndefinedName" ID="UndefinedName"></a>
539 <table> 641 <table>
540 <tr><td>None</td></tr> 642 <tr><td>None</td></tr>
541 </table> 643 </table>
542 <a NAME="UndefinedName.__init__" ID="UndefinedName.__init__"></a> 644 <a NAME="UndefinedName.__init__" ID="UndefinedName.__init__"></a>
543 <h4>UndefinedName (Constructor)</h4> 645 <h4>UndefinedName (Constructor)</h4>
544 <b>UndefinedName</b>(<i>filename, lineno, name</i>) 646 <b>UndefinedName</b>(<i>filename, loc, name</i>)
545 <p> 647 <p>
546 Constructor 648 Constructor
547 </p><dl> 649 </p><dl>
548 <dt><i>filename</i></dt> 650 <dt><i>filename</i></dt>
549 <dd> 651 <dd>
550 name of the file (string) 652 name of the file (string)
551 </dd><dt><i>lineno</i></dt> 653 </dd><dt><i>loc</i></dt>
552 <dd> 654 <dd>
553 line number (integer) 655 location of the issue
554 </dd><dt><i>name</i></dt> 656 </dd><dt><i>name</i></dt>
555 <dd> 657 <dd>
556 undefined name (string) 658 undefined name (string)
557 </dd> 659 </dd>
558 </dl> 660 </dl>
584 <table> 686 <table>
585 <tr><td>None</td></tr> 687 <tr><td>None</td></tr>
586 </table> 688 </table>
587 <a NAME="UnusedImport.__init__" ID="UnusedImport.__init__"></a> 689 <a NAME="UnusedImport.__init__" ID="UnusedImport.__init__"></a>
588 <h4>UnusedImport (Constructor)</h4> 690 <h4>UnusedImport (Constructor)</h4>
589 <b>UnusedImport</b>(<i>filename, lineno, name</i>) 691 <b>UnusedImport</b>(<i>filename, loc, name</i>)
590 <p> 692 <p>
591 Constructor 693 Constructor
592 </p><dl> 694 </p><dl>
593 <dt><i>filename</i></dt> 695 <dt><i>filename</i></dt>
594 <dd> 696 <dd>
595 name of the file (string) 697 name of the file (string)
596 </dd><dt><i>lineno</i></dt> 698 </dd><dt><i>loc</i></dt>
597 <dd> 699 <dd>
598 line number (integer) 700 location of the issue
599 </dd><dt><i>name</i></dt> 701 </dd><dt><i>name</i></dt>
600 <dd> 702 <dd>
601 name of the unused import (string) 703 name of the unused import (string)
602 </dd> 704 </dd>
603 </dl> 705 </dl>
632 <table> 734 <table>
633 <tr><td>None</td></tr> 735 <tr><td>None</td></tr>
634 </table> 736 </table>
635 <a NAME="UnusedVariable.__init__" ID="UnusedVariable.__init__"></a> 737 <a NAME="UnusedVariable.__init__" ID="UnusedVariable.__init__"></a>
636 <h4>UnusedVariable (Constructor)</h4> 738 <h4>UnusedVariable (Constructor)</h4>
637 <b>UnusedVariable</b>(<i>filename, lineno, names</i>) 739 <b>UnusedVariable</b>(<i>filename, loc, names</i>)
638 <p> 740 <p>
639 Constructor 741 Constructor
640 </p><dl> 742 </p><dl>
641 <dt><i>filename</i></dt> 743 <dt><i>filename</i></dt>
642 <dd> 744 <dd>
643 name of the file (string) 745 name of the file (string)
644 </dd><dt><i>lineno</i></dt> 746 </dd><dt><i>loc</i></dt>
645 <dd> 747 <dd>
646 line number (integer) 748 location of the issue
647 </dd><dt><i>names</i></dt> 749 </dd><dt><i>names</i></dt>
648 <dd> 750 <dd>
649 name of the unused variable (string) 751 names of unused variable (string)
650 </dd> 752 </dd>
651 </dl> 753 </dl>
652 <div align="right"><a href="#top">Up</a></div> 754 <div align="right"><a href="#top">Up</a></div>
653 <hr /> 755 <hr />
654 </body></html> 756 </body></html>

eric ide

mercurial